[Newbies] Debugging - any hints, tutorials ?

Levente Uzonyi leves at elte.hu
Sat Mar 19 11:56:53 UTC 2011


On Fri, 18 Mar 2011, recursive68 at gmail.com wrote:

> Hi,
>
> I'm having issues using the debugger when I am trying to debug errors when I
> am using a third party API's. Typically, it's because I'm making errors when
> trying to use a third party component. The debugger errors are usually
> totally opaque to me, for example I'm getting this when using a
> scripitilious component:
>
> BlockClosure(Object)>>error:
> BlockClosure>>numArgsError:
> BlockClosure>>value:
> SUTreeReportColumn>>render:on:
> [] in [] in SUTreeReportColumn>>render:indent:on:
> BlockClosure>>renderOn:
> WARenderCanvas(WARenderer)>>render:
> WARenderCanvas(WACanvas)>>render:
> [] in WADivTag(WATagBrush)>>with:
> BlockClosure>>renderOn:
> WARenderCanvas(WARenderer)>>render:
> WARenderCanvas(WACanvas)>>render:
> WARenderCanvas(WACanvas)>>nest:
> WADivTag(WABrush)>>with:
> WADivTag(WATagBrush)>>with:
> [] in SUTreeReportColumn>>render:indent:on:
> BlockClosure>>renderOn:
> WARenderCanvas(WARenderer)>>render:
> WARenderCanvas(WACanvas)>>render:
> [] in WADivTag(WATagBrush)>>with:
>
> In the above I can't see anywhere which references a line in my code,
> consequently I'm finding it hard to proceed.

Your code is not in this list. If you click the "Full Stack" button, 
you'll see the stack frames which will contain your code.

>
> Are there any tutorials or hints on how best to use the debugger ?

Here is a bit outdated description of how the debugger can be used:
http://wiki.squeak.org/squeak/2131


Levente

>
> Thanks.
>


More information about the Beginners mailing list