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

Bug 327052

Summary: Disabled global breakpoint causes debug session to hang when resumed
Product: [Tools] PTP Reporter: Yan Ma <yanma>
Component: Debug UIAssignee: Greg Watson <g.watson>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Yan Ma CLA 2010-10-05 20:05:46 EDT
Build Identifier:  I20100603-1500

An x10 process will hang somewhere forever after a global BP is set and disabled.

Reproducible: Always

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

Step 1: Set a global BP at line 50.
Step 2: select the BP and right-click your mouse. Choose "disable breakpoint".
Step 3: Make sure the icon for global BP becomes blur, which indicates the BP has been disabled.
Step 4: Start running the above X10 program. 
Step 5: When the cursor stops at the entry of main function, click "Resume" in debug view.

Result: The process could hang forever (I tested three times and no resumption happened after at least 10 minutes waiting for any of three experiments).
Comment 1 Greg Watson CLA 2010-10-31 10:17:42 EDT
This can be reproduced on a simple test case.
Comment 2 Greg Watson CLA 2010-10-31 11:08:05 EDT
Fixed in 4.0 and HEAD.