This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
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.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Set a breakpoint from Java program to itself - debugging with Eclipse
 
Similar Threads
DriverManager.getConnection() not working in runtime but working fine in debug mode of Eclipse
How is it better than JBuilder 9
Eclipse debugging & 3rd party src code
Source not found when debugging under WebLogic 9.2
StackOverflowError