<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="Georgia">I tried this in 5.1 and it worked</font></p>
<p><font face="Georgia">Debugger class>><br>
</font></p>
<p><font face="Georgia">morphicOpenOn: process context: context
label: title contents: contentsStringOrNil fullView: full<br>
"Open a notifier in response to an error, halt, or notify. A
notifier view just shows a short view of the sender stack and
provides a menu that lets the user open a full debugger."<br>
<br>
| errorWasInUIProcess debugger |<br>
ErrorRecursion ifTrue: [<br>
"self assert: process == Project current uiProcess --
DOCUMENTATION ONLY"<br>
ErrorRecursion := false.<br>
"^ Project current handleFatalDrawingError: title"].
<============commented this out<br>
...<br>
</font><br>
</p>
<br>
<div class="moz-cite-prefix">On 1/24/18 6:31 PM, Eliot Miranda
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAC20JE0QYJ1pE=QOY3ZSns_zEPa6XXdGtwERfZqN2+qA-P8=Fw@mail.gmail.com">
<div dir="ltr">Hi All,
<div><br>
</div>
<div> I'm comparing two close copies of a class in attempting
a complex refactoring, comparing the original code with the
close copy. In doing this I need to open up two debuggers to
step through the two computations simultaneously. If I try it
this way, where the two JITs break at a particular bytecode:</div>
<div><br>
</div>
<div>
<div>[:m :opts|</div>
<div> [StackToRegisterMappingCogit cog: m options: opts] fork.</div>
<div> Processor yield.</div>
<div> AltStackToRegisterMappingCogit cog: m options: opts]</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>value:
TabbedPalette class>>#unload</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>value:
#(ObjectMemory Spur64BitCoMemoryManager</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>debugBytecodePointers
#(59)</div>
<div><span class="gmail-Apple-tab-span" style="white-space:pre"> </span>compilationTrace
0).</div>
</div>
<div><br>
</div>
<div>I get an emergency evaluator :-(, and if I type restart I
only ever get one debugger. What's the right way to do this?</div>
<div><br>
</div>
<div>To boil down the example I need this to work:</div>
<div><br>
</div>
<div> [1 halt] fork.</div>
<div> Processor yield.</div>
<div> 2 halt</div>
<div><br>
</div>
<div>i.e. I want to be able to get two debuggers, one open on 1
halt, and the other on 2 halt.<br>
<div class="gmail_signature">
<div dir="ltr">
<div><span
style="font-size:small;border-collapse:separate">
<div>_,,,^..^,,,_<br>
</div>
<div>best, Eliot</div>
</span></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>