[antlr-interest] StringTemplate NullPointerException
Terence Parr
parrt at cs.usfca.edu
Sun Nov 14 07:12:34 PST 2004
On Nov 14, 2004, at 2:42 AM, Joan Pujol wrote:
> Hi,
>
> What's the best method to debug StringTemplate when you get
> NullPointerExceptions?
Hi :)
Is it inside StringTemplate that you get the error?
> There's a debug mode that can I use to see what of my templates cause
> the NullPointer?
> Because I have a lot of nested templates, and I don't get any info of
> where is the problem and it's hard to debug.
Have you seen the tree view? Look at the doc. Also, you can use a
debugger to ask any stringtemplate for its attributes and then walk
down the values.
Ter
>
> Cheers,
>
> --
> Joan Jesús Pujol Espinar
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/antlr-interest/
<*> To unsubscribe from this group, send an email to:
antlr-interest-unsubscribe at yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
More information about the antlr-interest
mailing list