Line Numbers in errors do not match line numbers in IDE.

edited February 2016 in Using Processing

Whenever an exception is thrown, it tells me what line number threw that exception, but this line number does not necessarily correspond with the line numbers show in the IDE. Processing auto-highlights some lines of code, usually not for nullPointerExceptions. Is there a way to find what line actually caused the error?

Tagged:

Answers

  • They relate to the preprocessed version of the code, the Java version that you can find in the temp directory. It's /tmp in Linux, not sure where on other systems.

  • If you export the code as an application, the Java file is also in the resultant directory.

Sign In or Register to comment.