0 Replies Latest reply on Oct 14, 2009 4:34 PM by 843810

    Debugging and Profiling at the same time

      java version "1.5.0_11"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
      Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)

      Is it not possible to enable two agents (
      ) for remote access at the same time?

      Here's what I have tried:

      1) Originally I had
      first followed by
      -Xdebug -Xrunjdwp...
      -- this refused to start at all, failing with
      "JDWP unable to get necessary JVMTI capabilities"
      2) I then tried removing
      -Xdebug -Xrunjdwp
      , and was able to get profiling in Eclipse to work, but couldn't debug.

      3) Trying
      followed by
      failed the same way as (1)

      4) Reversing the order of the agentlib options allowed the app to start, but it quickly became unresponsive

      Is this just not supported?

      Edited by: jgarrison on Oct 14, 2009 9:32 AM