Q: Unable to compile the grammar when debugging

Make sure that the path to the javac tool is defined in the system classpath or in Preferences > Compiler. For example, on Windows, such a path could be C:\Program Files\Java\jdk1.5.0_03\bin\javac.

Q: Where are the preferences file located?

The preferences are located in various places depending on the operating system:

Q: Unable to debug under Windows Vista

In Windows Vista, if you are getting an error or a time-out when trying to debug, it is possible that port 49153 (which is the default debug port used by ANTLRWorks) is already used by another application. There are two ways to solve this issue: