Debugging of processes

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

Debugging of processes

Martin Beck-3
Hi there,
how can I debug a process with full stack, etc.?
If I just call self halt in it, I get only the self halt method, but no
stack. process debug doesn't seem to work either.
The process was startet with [] forkNamed...

Help would be appreciated.
Bye,
Martin

Reply | Threaded
Open this post in threaded view
|

Re: Debugging of processes

Bert Freudenberg
Am Jan 19, 2007 um 17:49  schrieb Martin Beck:

> Hi there,
> how can I debug a process with full stack, etc.?
> If I just call self halt in it, I get only the self halt method,  
> but no stack. process debug doesn't seem to work either.
> The process was startet with [] forkNamed...

Debugging from the Proccess Browser used to work - which image are  
you using?

- Bert -



Reply | Threaded
Open this post in threaded view
|

Re: Debugging of processes

Martin Beck-3
Am Freitag 19 Januar 2007 18:04 schrieb Bert Freudenberg:

> Am Jan 19, 2007 um 17:49  schrieb Martin Beck:
> > Hi there,
> > how can I debug a process with full stack, etc.?
> > If I just call self halt in it, I get only the self halt method,
> > but no stack. process debug doesn't seem to work either.
> > The process was startet with [] forkNamed...
>
> Debugging from the Proccess Browser used to work - which image are
> you using?
>
> - Bert -
# squeak -version
3.9-7 #1 Sat Dec 23 17:24:39 CET 2006 gcc 4.1.1
Squeak3.9alpha of 4 July 2005 [latest update: #7021]
Linux mczitronelaptop 2.6.19-gentoo-r2 #1 PREEMPT Sun Dec 17 18:29:50 CET 2006
i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
default plugin location: /usr/lib/squeak/3.9-7/*.so

And the 3.9-final image....
The problem is, that my process seems to have an error in it, but when the
debug-window pops up, I don't see any stack... :(

Regards, Martin

Reply | Threaded
Open this post in threaded view
|

Re: Debugging of processes

Martin Beck-3
Am Freitag 19 Januar 2007 18:35 schrieb Martin Beck:

> > Debugging from the Proccess Browser used to work - which image are
> > you using?
> >
> > - Bert -
>
> # squeak -version
> 3.9-7 #1 Sat Dec 23 17:24:39 CET 2006 gcc 4.1.1
> Squeak3.9alpha of 4 July 2005 [latest update: #7021]
> Linux mczitronelaptop 2.6.19-gentoo-r2 #1 PREEMPT Sun Dec 17 18:29:50 CET
> 2006 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
> default plugin location: /usr/lib/squeak/3.9-7/*.so
>
> And the 3.9-final image....
> The problem is, that my process seems to have an error in it, but when the
> debug-window pops up, I don't see any stack... :(
>
> Regards, Martin
However, a simple [self halt] fork. just works as expected. So I have to
search the error somewhere in my code...

Martin

Reply | Threaded
Open this post in threaded view
|

Re: Debugging of processes

Martin Beck-3
Am Freitag 19 Januar 2007 18:49 schrieb Martin Beck:
> However, a simple [self halt] fork. just works as expected. So I have to
> search the error somewhere in my code...
Huh, got killed my process before the debug window could open... Shame on me!
Sorry and thanks for reading. ;)

Martin