[Debugging] How to map exception stack trace back to code

Sometimes, your Java application will cause an exception. When outputting the exception stack trace to the serial console, you may not be able to directly decipher it. Depending on whether you are building a standalone or sandboxed application, the process slightly differs :

For Standalone Applications

Refer to section 4.2 Stack Trace Reader of the StandaloneApplicationDeveloperGuide

For Sandboxed applications

Refer to section 9.2 Stack Trace Reader of the SandboxedApplicationDeveloperGuide