Debugging, Tracing, and Profiling Scripts
In this chapter, you will learn:
- How to debug standalone Nashorn scripts in the NetBeans IDE
- How to debug Nashorn scripts that are called from Java code in the NetBeans IDE
- How to trace and profile Nashorn scripts
NetBeans 8 with JDK 8 or later supports debugging, tracing, and profiling Nashorn scripts. You can run and debug standalone Nashorn scripts from within the NetBeans IDE. You can also debug Nashorn scripts when they are called from Java code. You can use all the debugging features for debugging scripts that you can use for debugging Java code; you can set breakpoints, display variables’ ...