O'Reilly logo

Scripting in Java: Integrating with Groovy and JavaScript by Kishori Sharan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 13

image

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’ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required