Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327052 - Disabled global breakpoint causes debug session to hang when resumed
Summary: Disabled global breakpoint causes debug session to hang when resumed
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: Debug UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-05 20:05 EDT by Yan Ma CLA
Modified: 2010-10-31 11:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.