slime / slime

The Superior Lisp Interaction Mode for Emacs
http://common-lisp.net/project/slime/
1.9k stars 336 forks source link

the inspector doesn't run the swank side in the initiating thread #656

Open sionescu opened 2 years ago

sionescu commented 2 years ago

when debugging, the dynamic environment of the debugged thread can be necessary for the SVUC calls of the inspected objects.

scenario:

(with-transaction (let ((thing (load-object))) <---- error brings up sldb ))

when inspecting 'thing' the SVUC customizations need the dynamic extent of the enclosing with-transaction.

the same applies to the current package.

patch is available at: http://dwim.hu/gitweb/gitweb.cgi?p=slime;a=summary

Launchpad Details: #LP661892 Attila Lendvai - 2010-10-16 20:37:14 +0000

sionescu commented 2 years ago

Attachment: 0001-Fix-inspector-uses-the-same-thread-and-package-that-.patch

Launchpad Details: #LPC Attila Lendvai - 2010-10-16 20:37:14 +0000

sionescu commented 2 years ago

https://github.com/slime/slime/issues/12 https://github.com/slime/slime/pull/79

Launchpad Details: #LPC Luís Oliveira - 2014-03-04 12:04:00 +0000