[squeak-dev] Endless debuggers (was: The Inbox: Morphic-ct.1610.mcz)
Thiede, Christoph
Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Dec 30 20:08:57 UTC 2019
Interesting approach :)
> I find I can at least open the window menu and “choose close all like this” to close some debuggers even if I can’t get back control.
Um, this seems to depend on the kind of violation. If the debugged context cannot be unwound, you cannot even use Utilities closeAllDebuggers.
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Eliot Miranda <eliot.miranda at gmail.com>
Gesendet: Montag, 30. Dezember 2019 17:56:33
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] Endless debuggers (was: The Inbox: Morphic-ct.1610.mcz)
On Dec 30, 2019, at 8:30 AM, Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de> wrote:
For best experience, combine it with "debug dialog invocation".
And just another trick how to "debug without debugger":
thisContext veryDeepCopy explore.
:-)
________________________________
Von: Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im Auftrag von Jakob Reschke <forums.jakob at resfarm.de>
Gesendet: Montag, 30. Dezember 2019 14:24 Uhr
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] Endless debuggers (was: The Inbox: Morphic-ct.1610.mcz)
Am Mo., 30. Dez. 2019 um 14:20 Uhr schrieb Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de<mailto:Christoph.Thiede at student.hpi.uni-potsdam.de>>:
If you would like to do so, you could experiment with inserting an #inform: in #handleError: and then open the ProcessBrowser before the next debugger appears.
A funny kind of breakpoint ;-)
Actually this is a good idea. I find I can at least open the window menu and “choose close all like this” to close some debuggers even if I can’t get back control. So what you could do is provide a button on a debugger to save a deep copy to the file system, eg as an image segment, and then abandon the image, restart and load the context chain from the serialization for analysis.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191230/2b47ed76/attachment.html>
More information about the Squeak-dev
mailing list
|