Typical - after not finding anything, as soon as you send an email it occurred to me to see how the pre-debug window opens a debug window and then I found it:
modelWindow := self debugger window. modelWindow model: nil; close And a similar thing for the pre-debug window to0 self preDebugWindow debugger: nil; close. > On 11 Aug 2018, at 16:44, Tim Mackinnon <firstname.lastname@example.org> wrote: > > I’m wondering if someone knows the trick to programmatically restarting the > debugger (or pre-debugger) without getting an extra window? > > In my debug action (a button) I have some code that does: > > aContext stack second restart > > However this gives me a second pre-debug window? > > Any thoughts?