File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
repository/Grease-Pharo100-Core.package/GRPharoPlatform.class/instance Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 11exceptions
22openDebuggerOn: anError
3- | process |
4- process := Processor activeProcess.
5- " If we are running in the UI process, we don't want to suspend the active process. The
6- error was presumably triggered while stepping in the Debugger. If we simply immediately
7- signal an UnhandledError, the debugger will catch this and display the signaling context.
8- It isn't perfect or pretty but it works."
9- (ProcessBrowser isUIProcess: process)
10- ifTrue: [
11- UnhandledError signalForException: anError ]
12- ifFalse: [
13- WorldState addDeferredUIMessage: [
14- UIManager default
15- requestDebuggerOpeningForProcess: process
16- named: anError description
17- inContext: anError signalerContext ].
18- process suspend ]
3+ (OupsDebugRequest newForException: anError) submit
You can’t perform that action at this time.
0 commit comments