Win a copy of Rust Web Development this week in the Other Languages 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Eclipse debugging & 3rd party src code

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I'm using Eclipse 3.0.1 and I'm currently remotely debugging 3rd party source code. What I've found I've had to do is place the 3rd party source code in amongst my source code under my 'src' directory in eclipse - obviously this isnt ideal.

I've tried adding the 3rd party source code to the 'Source' tab in the Debug launcher (ie Run->Debug...), but then cant find a way of opening the 3rd party java files in eclipse so I can set a breakpoint?

If anybody has done this before, I'd appreciate a few pointers!


thanks,

Susan
 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Susan Oso:
Hi,

I'm using Eclipse 3.0.1 and I'm currently remotely debugging 3rd party source code. What I've found I've had to do is place the 3rd party source code in amongst my source code under my 'src' directory in eclipse - obviously this isnt ideal.

I've tried adding the 3rd party source code to the 'Source' tab in the Debug launcher (ie Run->Debug...), but then cant find a way of opening the 3rd party java files in eclipse so I can set a breakpoint?

If anybody has done this before, I'd appreciate a few pointers!


thanks,

Susan




When you refer to 3rd party source code, are you referring to .class files
or java files?
 
Susan
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Vijay,

I'm referring to java source files. The way I'm currently doing it I can step into these source files, but I cant open them up in the eclipse editor prior to running the debugger and set breakpoints.


thanks,

Susan
 
Vijay Vaddem
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If they are java source files, you should be able to open them
before starting the debugger.

Are you getting any error message while opening these java files??

Or perhaps, if you have a decompiler plugin for eclipse,
it must be decompiling the .class files to .java files
while debugging... (Just a guess...)
 
reply
    Bookmark Topic Watch Topic
  • New Topic