0

I have bunch of Groovy scripts and I execute them from Java (so I haven't .class files for this scripts, I compile them on the fly).

  • Can I somehow debug this scripts from Netbeans?
AlvaroAV
  • 10,335
  • 12
  • 60
  • 91
Joel
  • 473
  • 2
  • 7
  • 22
  • Related: http://stackoverflow.com/questions/11758688/debugging-groovy-scripts-running-in-a-scriptengine-from-eclipse/23511693#23511693 – Aaron Digulla Oct 30 '14 at 09:02

1 Answers1

0

There is no way to do this since there is no way to tell Netbeans to attach the debugger to the script from your Java code.

But this answer contains a workaround so you can set breakpoints: https://stackoverflow.com/a/23511693/34088

Community
  • 1
  • 1
Aaron Digulla
  • 321,842
  • 108
  • 597
  • 820