facebook

Remote debugging and variable scope with WLS 8.1

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #259301 Reply

    David Orriss Jr
    Participant

    OK.. So here’s my problem.. first the environment:

    JDK 1.4.2_11 (distributed with WebLogic 8.1SP 6).
    I’ve built my application using the ANT build scripts for it, created the EAR and WAR files using that ANT script. I did *not* create a WAR or EAR project in MyEclipse and then deploy that to WLS.

    Now the problem:

    When I use debug in WLS (either running on the laptop in a DOS window *or* within Eclipse) and I debug my application I can only inspect the variables that are public and private to the class. Anything that is local to a method is unavailable.

    Why? And how can I fix this??

    Cuz this really is a pain.

    👿

    #259324

    Riyad Kalla
    Member

    Hmm… ok first things to check is that your Ant script is compiling your source with debugging symbols enabled, do you know by chance if it? Also what debugging symbols are you telling it to generate? (I think ant allows you to specify up to 3 or something)

    #259326

    David Orriss Jr
    Participant

    Ack! I think you pegged it. I have debug=true but debuglevel is nowhere to be found. I’ll try another build and see what happens. I believe saying :

    debuglevel=lines, vars, source

    Will do the trick, right?

    #259328

    Riyad Kalla
    Member

    yep I think that’s it

    #259386

    David Orriss Jr
    Participant

    Well, I figured it out. Debuglevel WAS set (it’s a big ant script and I missed it at first glance – it was late and I was tired). But it was only set to “lines, source”. Once I added “vars” things were right as rain.

    Thank you.

    #259387

    Riyad Kalla
    Member

    +1 for the good guys 😉

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Remote debugging and variable scope with WLS 8.1

You must be logged in to post in the forum log in