Bug 269187 - When attaching to a process to debug, the process list is incomplete
Summary: When attaching to a process to debug, the process list is incomplete
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 0 DD 1.1   Edit
Hardware: Sun Solaris
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-debug-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-18 09:43 EDT by Stu Mising name CLA
Modified: 2020-09-04 15:22 EDT (History)
2 users (show)

See Also:


Attachments
Process list, parsing problem (112.03 KB, image/png)
2009-11-22 03:22 EST, Marc-André Laperle CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stu Mising name CLA 2009-03-18 09:43:29 EDT
Build ID: M20080911-1700

Steps To Reproduce:
1. make a new debug configuration (attach)
2. start debugging
3. observe the process list, notice things missing.



More information:
I am trying to debug a plugin for netscape's iplanet webserver.

ps -e -o pid,args includes this:
25276 webservd -r /usr/local/ns-home -d /usr/local/ns-home/https-sandbox-stu/config -

but it doesn't show up in the list so I can't select it, and thus I can't attach to it.
Being able to just type in a pid would be a decent enough workaround, but I can't figure out how to shove --pid=25276 into the command line for the debug configuration.
Comment 1 Marc-André Laperle CLA 2009-11-22 03:22:54 EST
Created attachment 152800 [details]
Process list, parsing problem

(In reply to comment #0)
> 3. observe the process list, notice things missing.
(In reply to comment #0)
> ps -e -o pid,args includes this:

That's weird, that's exactly the command executed in the code. I use OpenSolaris 2009.06 (5.11) and I have the exact same number of processes in the list and using ps. But I noticed some of them are not parsed correctly so some names are incorrect, see screenshot attached. Maybe the process was in the list but you didn't see it because of this? Would it be possible to compare the number of processes?