facebook

local vars w/ JSP debug

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #199924 Reply

    Hi:

    When debugging JSP’s, should local vars be visible in the debugger? Mine do not seem to be.

    For example, if I create a JSP with the default template and put a break point after the “String path = ” line in the first code block, there is no sign of the variable “path” in the debugger variables display when the breakpoint is hit.

    (I am running:
    windows XP
    java2 sdk 1.4.2_02
    eclipse 2.1.2
    tomcat 5.0.14
    myeclipse 2.6.4)

    thanks,
    –FritzM.

    #199925 Reply

    …looks like maybe “path” doesn’t show up in this example because it just gets compiled into a temp? If I step a bit further, the “basePath” local does show up just fine.

    –FritzM.

    #199930 Reply

    Scott Anderson
    Participant

    …looks like maybe “path” doesn’t show up in this example because it just gets compiled into a temp?

    That seems like a reasonable explaination since the other locals are showing up.

    –Scott
    MyEclipse Support

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: local vars w/ JSP debug

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