peter peter

Avatar
  • Total activity 57
  • Last activity
  • Member since
  • Following 0 users
  • Followed by 0 users
  • Votes 0
  • Subscriptions 23
  • Created

    object notation in debugger?

    When I trace through a program inside the debugger, I noticed the variable values are shown as something like {java.lang.String@1427}"some string".    What does 1427 mean here?  Thanks.
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    How to run parameterized test case (testng)

    I use testng for unit testing.   The testng plugin for idea is pretty convenient -- I can run a particular class/method with just a few clicks.  However, one of the test classes is parameterized.  ...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    exception breakpoint and dependency?

    My code generates a SQLException.  I tried to debug this by setting an exception break point.   However, this breaks at many other places that are not in my own code, such as places in jdbc library...
    • 2 followers
    • 1 comment
    • 0 votes
  • Created

    how to "copy" a tab in split view

    The problem I have is the following: I split my window vertially into two tab groups.  I have a file in the left group but not in the right group.  I want to make it appear in the right group as we...
    • 1 follower
    • 0 comments
    • 0 votes
  • Created

    suspend execution without breakpoint?

    Sometimes while debugging a program, I stumble upon a long running method.  I want to figure out where it is spending time -- perhaps there is a busy loop nested several levels down.   What I want ...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    break point conditioned on call stack

    In IDEA 8.x, is it possible to set a break point conditioned on the call stack?  For example, suppose I have a method foo that is invoked by both bar1 and bar2.  I set a break point somewhere in fo...
    • 2 followers
    • 2 comments
    • 0 votes
  • Created

    View return value in debugger?

    Answered
    While debugging a java application, sometimes I wish to view the value returned from a method when I step out of it.  How do I do that?  Thanks!
    • 8 followers
    • 9 comments
    • 2 votes