• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Source not found when debugging under WebLogic 9.2

 
Bartender
Posts: 1876
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been having problems in both regular Eclipse and in MyEcipse (versions 5.5 and 6) where when you set a breakpoint in any Java program, you get a "Source Not Found" message.

To debug my Java class under WebLogic 9.2, I must tell Eclipse each time I debug that the source is in the "src" folder. Then I see and can step through my source code for *that* debug session only.

Each and every time I debug, the same thing happens -- I have to manually add the workspace folder called: "src" before I see my source code.

Below is the Javac task from my ant script.

I'm trying to figure out what's keeping Eclipse from "knowing" where the source code is for expected debugging behavior.

I would greatly appreciate any suggestions.

Thanks much

Mike


<javac deprecation="on" srcdir="${project.source}" destdir="${project.classes}" debug="on">
<classpath refid="compile.classpath"/>
<compilerarg value="-Xlint:unchecked"/>
</javac>
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Have you resolved your problem? Me too, I have trouble with remote debugging.

My eclipse do get connected to the remote server WL8.1 (on SunOS 5.09) but the app didn't suspend at the break point, I have try with both ant build an war file exported by eclipse. Please see me post

Good luck,
 
Mike London
Bartender
Posts: 1876
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

The workaround, until someone can resolve the problem or at least identify what it is, was (for me, anyway) to create a custom debugging configuration. That worked for me with WL 9.2.

To debug, you start the VM from the custom debug menu. You set a breakpoint as always.

HTH.

-- M
 
Evacuate the building! Here, take this tiny ad with you:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic