[squeak-dev] Debugging through #fork

Jakob Reschke jakres+squeak at gmail.com
Sat Jan 22 10:47:20 UTC 2022


Dear Squeakers,

I was just asking myself, why we cannot debug process forking like this:

0. In the Debugger: [ self doSomething ] "--> next send" fork. nextStatement.
1. Press the Through button.
2. The debugger stops at the next step after the send of #fork: [ self
doSomething ] fork. "-->" nextStatement.
3. A second full debugger opens on the new (and now suspended)
process: [ self "-->" doSomething ] fork. nextStatement.

Do you see any drawbacks or huge implementation challenges or
blockers? Or would it be "only" a matter of somebody finding the time
and will to implement such a feature?

Kind regards,
Jakob


More information about the Squeak-dev mailing list