IntelliJ Java IDE
The moose likes IDEs, Version Control and other tools and the fly likes Set a breakpoint from Java program to itself - debugging with Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Set a breakpoint from Java program to itself - debugging with Eclipse" Watch "Set a breakpoint from Java program to itself - debugging with Eclipse" New topic
Author

Set a breakpoint from Java program to itself - debugging with Eclipse

Boris Sustek
Greenhorn

Joined: Dec 22, 2011
Posts: 1
Hello,

I have Java program that is dynamically creating Java source files that compiles them into classes which are loaded into JVM with custom class loader to be available during program execution.
That works just fine.

I'm debugging my program with Eclipse, and I'm wondering if I can dynamically set a breakpoint into dynamically created java source file.
Of course, it is required that break point should be set from Java program, not Eclipse.
It sounds tricky, but still... is it somehow possible ?

Thanks in advance,
boris.
 
 
subject: Set a breakpoint from Java program to itself - debugging with Eclipse
 
Threads others viewed
DriverManager.getConnection() not working in runtime but working fine in debug mode of Eclipse
Source not found when debugging under WebLogic 9.2
StackOverflowError
How is it better than JBuilder 9
Eclipse debugging & 3rd party src code