Set a breakpoint from Java program to itself - debugging with Eclipse
posted 5 years ago
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 ?