Bug 223868 - "Attach to debugger automatically whenever it appears on a port."
"Attach to debugger automatically whenever it appears on a port."
Status: NEW
Product: debugger
Classification: Unclassified
Component: Java
7.3
PC Linux
: P3 (vote)
: TBD
Assigned To: Martin Entlicher
issues@debugger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-15 08:34 UTC by pekarna
Modified: 2012-12-15 08:34 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pekarna 2012-12-15 08:34:42 UTC
More often than not, the JVM to attach the debugger to is started outside IDE's scope. E.g. various cmdline tools.

The process of starting the app is sometimes quite long - downloading deps, building, creating database, ...).
When this is done, JVM is started, and waits for the debugger to attach (when suspend=y). After debugger is attached, the app continues for another longer period until it get's to the point user is interested in.

It would be much convenient if the IDE watched pre-configured port, and attached automatically any time the debugger would appear on that port. In the UI, this would be represented:

  a) by a toggleable button "Wait for debugger", 

  b) or better, re-using the current "Attach to debugger" dialog, only adding a checkbox - "Watch the port permanently, attach whenever debugger appears".
     (The state of waiting for the debugger could be represented by the button being somehow altered.)

Thanks for considering.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo