Win a copy of Microservices Testing (Live Project) this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic