Hi all, I am new to Squeak and its debugging interface. I am trying to get a handle on Seaside by setting breakpoints on the methods in the example apps.
Is there a way to bulk set breakpoints for all classes and methods in the Seaside package(or any other package) ? I would like to see exactly what code is being executed at any given time. Is there an easier way?
Thanks... Deech
_________________________________________________________________ Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
Aditya,
You can put this inside any method:
self halt. "Will show up a stack trace"
- Jeroen
"Aditya Siram" aditya_siram@hotmail.com wrote in message news:BAY106-F37F65CC01B96959EF8FC9F4400@phx.gbl...
Hi all, I am new to Squeak and its debugging interface. I am trying to get a
handle
on Seaside by setting breakpoints on the methods in the example apps.
Is there a way to bulk set breakpoints for all classes and methods in the Seaside package(or any other package) ? I would like to see exactly what code is being executed at any given time. Is there an easier way?
Thanks... Deech
Get a FREE Web site, company branded e-mail and more from Microsoft Office Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
Thanks for your input. However, I am trying to get handle on Seaside with lots of methods and a confusing (at least for me since I have no experience with web frameworks) control flow. I would like to run one of the examples and see what method is being interpreted at each step. Is there a way I can add breakpoints to all the methods in a certain package?
Thanks... Aditya
From: "Jeroen van Hilst" jeroen@keizerrijk.net Reply-To: "A friendly place to get answers to even the most basic questionsabout Squeak." beginners@lists.squeakfoundation.org To: beginners@lists.squeakfoundation.org Subject: [Newbies] Re: Setting Breakpoints to Read Code Date: Sat, 5 May 2007 00:51:53 +0200
Aditya,
You can put this inside any method:
self halt. "Will show up a stack trace"
- Jeroen
"Aditya Siram" aditya_siram@hotmail.com wrote in message news:BAY106-F37F65CC01B96959EF8FC9F4400@phx.gbl...
Hi all, I am new to Squeak and its debugging interface. I am trying to get a
handle
on Seaside by setting breakpoints on the methods in the example apps.
Is there a way to bulk set breakpoints for all classes and methods in
the
Seaside package(or any other package) ? I would like to see exactly what code is being executed at any given time. Is there an easier way?
Thanks... Deech
Get a FREE Web site, company branded e-mail and more from Microsoft
Office
Live! http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners
_________________________________________________________________ Download Messenger. Join the im Initiative. Help make a difference today. http://im.live.com/messenger/im/home/?source=TAGHM_APR07
Hello Aditya,
AS> Thanks for your input. However, I am trying to get handle on Seaside with AS> lots of methods and a confusing (at least for me since I have no experience AS> with web frameworks) control flow. I would like to run one of the examples AS> and see what method is being interpreted at each step. Is there a way I can AS> add breakpoints to all the methods in a certain package?
you just need one breakpoint at top level and with the debugger you can step into every method you find interesting. If you want to follow the iterations of a loop you need the "trough" button.
If you want static control flow, get the Tracing Messages Browser from SqueakMap. Using senders and implementors there will give you an indented list of the calls.
I guess your original wish would be doable as Squeak is very good in meta programming but imho you'll only clutter up your screen with debuggers.
I have no knowledge about Seaside myself, so I can't tell you where to put the top level breakpoint.
If my suggestions prove impractical (Seaside might use many parallel processes) try asking again with a new subject.
And I don't think the inner workings of seaside belong to "the most basic questions about Squeak", so maybe try Squeak-dev or the seaside mailing list.
Please find the lists at: http://lists.squeakfoundation.org/mailman/listinfo
Cheers,
Herbert mailto:herbertkoenig@gmx.net
beginners@lists.squeakfoundation.org