• 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 ...
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

Viewing source code when Remote Debugging in Eclipse.

Ranch Hand
Posts: 223
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
I have configured Eclipse to connect to my remote server in the Debug mode and I am able to trace the flow under the debug perspective.
However, I am not able to see the sourcecode or the state of the variables when I set checkpoints.
I also get a message "Source not found" under which there is a "Edit Source Lookup Path".
I have tried to point it to the jar which I have deployed at the server but I still continue to get the same message.

Does anyone have a solution to view the source code when I am debugging remotely?

[ September 11, 2007: Message edited by: v ray ]
Saloon Keeper
Posts: 25838
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to have a copy of the source directories accessible via your local filesystem and it needs to be in sync with the binary jar for the stepping and breakpoints to work properly.

Normally, my source code's on the IDE machine and I publish the generated JAR to the server, so that's usually no major problem. I have had issues when using foreign components, such as Jakarta jars that turned out to have been built off a different source release than the one I downlooaded.
    Bookmark Topic Watch Topic
  • New Topic