Janko,

Hmmm... what happens if you run '[ 3 halt ] fork'? 

I remember that there was a little discussion about the correct implementation 
of #isSuspended ... In my (older) image #isSuspended is implemented as '^myList 
isNil' ... what's yours look like? My guess is that in your case myList might 
be an empty list ... 

Dale

----- "Janko Mivšek" <[email protected]> wrote:

| Hello Pharoers,
| 
| I have one halt in code, raising an exception but when I want to Debug
| it, I got
| 
|       Error: Unable to debug a running process
| 
| in OTDebugger class:
| 
|   process: aProcess context: aContext errorWasInUIProcess: aBool
|       | processNode contextNode |
|       aProcess isSuspended
|           ifFalse: [ self error: 'Unable to debug a running process.'
| ].
| 
| aProcess is a Process in OTToolset
| class>>debug:context:label:contents:fullView:
| 
| My process with halt is otherwise a background SwazooConnenction
| process.
| 
| What is the reason for that?
| 
| Janko
| 
| --
| Janko Mivšek
| AIDA/Web
| Smalltalk Web Application Server
| http://www.aidaweb.si
| 
| _______________________________________________
| Pharo-project mailing list
| [email protected]
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to