Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327042

Summary: "Terminate and Remove" one process makes the other processes invisible in debug view
Product: [Tools] PTP Reporter: Yan Ma <yanma>
Component: Debug UIAssignee: Greg Watson <g.watson>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: P3 CC: beth, xuanchen
Version: 5.0   
Target Milestone: 8.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Problems with the menu option "Terminate and Remove" none

Description Yan Ma CLA 2010-10-05 16:19:16 EDT
Build Identifier:  I20100603-1500

when choose "Terminate and Remove" to a process from the right-click menu under the debug view,  the other processes' frame or stack information will be all removed as well.

Reproducible: Always

Steps to Reproduce:
source file: ArraySum.x10 
executable:ArraySum.out  compiled by X10C++
Reproducibility: yes

Step 1: Set task number as 3 in the debug configuration window.
Step 2: Start running the above X10 program.
Step 3: When the cursor stops at the main entry, select thread 1 of process 0 at the main function under debug view.
Step 4: Right click the selected thread and choose "Remove and Terminate" from the popped menu.

Result: Stack and frame information for the other two process has been wiped out as well. So we will not be able to issue any debugging commands to the two remaining processes.
Comment 1 Beth Tibbitts CLA 2010-10-05 23:20:14 EDT
What version of PTP are you using?
Can you please try it with the recently released 4.0.3?
Comment 2 Xuan Chen CLA 2010-10-06 10:23:09 EDT
We encountered this problem using HEAD stream of PTP.
Comment 3 Yan Ma CLA 2010-10-06 14:02:22 EDT
Created attachment 180359 [details]
Problems with the menu option "Terminate and Remove"