Until then you can use the remote debugging feature of ANTLRWorks. Generate the code with the -debug command line option (can be set in ANTLRWorks preferences), then run your application code however you want, it will pause waiting for the debugger to connect when you select remote debugging in ANTLRWorks. On this point, a useful enhancement in ANTLRWorks might be a command to generate with debug enabled to save having to change this through the preferences when you are alternately running with and without remote debugging.
Tom. On Thu, Sep 18, 2008 at 2:45 AM, Terence Parr <[EMAIL PROTECTED]> wrote: > We are going to work on a mechanism where you can alter the standard > test rig to add whatever code snippets you need. > > Ter > On Sep 17, 2008, at 6:58 AM, Joost Kraaijeveld wrote: > >> Hi, >> >> I want to use AntrWorks to create a source translator using >> StringTemplates. >> >> Can anyone tell me/ point to a tutorial how I can use AntrlWorks ( and >> especially it's debugger) together with a StringTemplate file? >> >> All the examples I have seen seem to use a handwritten Java file which >> contains the application's main, but the AntlrWorks debugger generates >> it's own Java file with it's own main, that does not use my stg-file >> "automagically". So I assume that if it is possible I must do >> something, >> but I have no idea what. >> >> TIA >> >> -- >> Groeten, >> >> Joost Kraaijeveld >> Askesis B.V. >> Molukkenstraat 14 >> 6524NB Nijmegen >> tel: 024-3888063 / 06-51855277 >> fax: 024-3608416 >> web: www.askesis.nl >> >> >> List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest >> Unsubscribe: >> http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address >> > > > List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest > Unsubscribe: > http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address > > List: http://www.antlr.org:8080/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org:8080/mailman/options/antlr-interest/your-email-address --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en -~----------~----~----~----~------~----~------~--~---
