Bug: Error in JadeServer | openDebuggerOn:

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug: Error in JadeServer | openDebuggerOn:

Thelliez
Every once in a while, the debugger gets stuck. In the JadeServer below, aProcess is nil.  This happens when I inspect some variables from an opened debugger.

openDebuggerOn: aProcess

| debuggerClass |
debuggerClass := OTDebugger.
(aProcess localMethodAt: 1) selector == #remoteBreakpointMethod
ifTrue: [Smalltalk at: #OTRemoteDebugger ifPresent: [:cl | debuggerClass := cl ]].
^debuggerClass process: aProcess


Closing and restarting the original debugging session clears the issue.



Thierry
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Error in JadeServer | openDebuggerOn:

Dale Henrichs
Thierry,

This is one of those bugs that disappears when you start looking at it,
so I have had a hard time finding the root cause ... If you want to
help, you can turn on 'pop up on debug' in the Admin menu and then
gather information from the Squeak-side of the call stack and report a
bug if you notice some common patterns ...

Dale

On 04/01/2011 06:39 PM, Thierry Thelliez wrote:

> Every once in a while, the debugger gets stuck. In the JadeServer below,
> aProcess is nil.  This happens when I inspect some variables from an
> opened debugger.
>
> openDebuggerOn: aProcess
>
> | debuggerClass |
> debuggerClass := OTDebugger.
> (*aProcess* localMethodAt: 1) selector == #remoteBreakpointMethod
> ifTrue: [Smalltalk at: #OTRemoteDebugger ifPresent: [:cl | debuggerClass
> := cl ]].
> ^debuggerClass process: aProcess
>
>
> Closing and restarting the original debugging session clears the issue.
>
>
>
> Thierry