FAQ
FAQ
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:
- Mac OS X:
~/Library/Preferences/org.antlr.works.plist
- Windows: use
regedit.exe and browse the entries under HKEY_CURRENT_USER\Software\JavaSoft\Prefs\org\antlr\works
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:
- Change the default debugger port in Preferences > Debugger and restart the debugger
- Close the application using the port. This can be done by following steps like those