This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 196852

Summary: Expression attach to process for C language
Product: cnd Reporter: _ rsmogura <rsmogura>
Component: DebuggerAssignee: Maria Tishkova <mromashova>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.0.1   
Hardware: PC   
OS: Other   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ rsmogura 2011-03-18 14:01:39 UTC
I develop programme that is externally configured, and as well build, in additional this program runs child process and I want to debug this child process. Currently to attach to I need to: open Attach Window enter expression and then choose PID, as PID changes every restart.

I want to:
1. Enter expression (show possible PIDs to check if it's correct).
2. Then when I click on Attach arrow, in menu, instead of Attach to process name, pid, I want to have attach by expression "my expression", eventually show found PID and programme's name
2b) Optional. Display Process Chose window to check if everything is correct.
3. If I will have more then one PID with given expression show window, with entered expression to allow me to choose PID.

In addition, ability to choose between standard expression (currently available in Attach window) and advanced (e.g. pid>1000 && UID=radek && cmd~="my RegEx to choose CMD") will be great help.