facebook

Examining db resultsets in debug

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

    ebjerkelund
    Member

    I am trying to figure out how to examine my resultsets as I debug my servlets. I can’t seem to figure how to find the content among all of the information provided. e.g. What is being returned in rs.getString(“ColumnName”).

    Any help?

    p.s. I am also trying to figure out how to single step through code line-by-line. Can’t quite seem to figure it out. Any suggestions?

    – System Setup ——————————-
    Operating System and version: WinXP
    Eclipse version: 2.1.2
    Eclipse build id: 200311030802
    MyEclipse version: 2.6.200
    Eclipse JDK version: 1.4.2_03-b02
    Application Server JDK version:

    – Message Body ——————————-
    undefined

    #202019

    Riyad Kalla
    Member

    These *sound* like general debugger-use questions, so I’ll answer then accordingly (if they aren’t and I miss the mark let me know and I’ll try again 😉

    1) To find what a method call returns, you should be able to add that statement as a “watch” variable. The debugger will evaluate it and show you its value. You can of course dig into the result set object yourself, but its quite complex and actually finding the content that its holding might prove to be tricky.

    2) Stepping through line by line is done via the different controls in the debugger view. There is a step over, step out of, step into, continue, stop, etc. It should be in the top bar of the top-left panel in the debug perspective.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Examining db resultsets in debug

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