• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Boris Sustek
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!