Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 195594 Details for
Bug 343862
Infinite assertions when an error happens when setting breakpoints
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Need to complete RequestMonitors
z.infinite2.patch (text/plain), 2.00 KB, created by
Marc Khouzam
on 2011-05-13 10:29:20 EDT
(
hide
)
Description:
Need to complete RequestMonitors
Filename:
MIME Type:
Creator:
Marc Khouzam
Created:
2011-05-13 10:29:20 EDT
Size:
2.00 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.dsf.gdb >Index: src/org/eclipse/cdt/dsf/gdb/service/GDBRunControl_7_0_NS.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/service/GDBRunControl_7_0_NS.java,v >retrieving revision 1.35 >diff -u -r1.35 GDBRunControl_7_0_NS.java >--- src/org/eclipse/cdt/dsf/gdb/service/GDBRunControl_7_0_NS.java 13 May 2011 11:13:02 -0000 1.35 >+++ src/org/eclipse/cdt/dsf/gdb/service/GDBRunControl_7_0_NS.java 13 May 2011 14:27:17 -0000 >@@ -1153,7 +1153,13 @@ > // If we don't, we risk an infinite loop where we try, over and over > // to perform an operation that keeps on failing. > fOngoingOperation = false; >- fOperationsPending.clear(); >+ >+ // Complete each rm of the cancelled operations >+ while (fOperationsPending.size() > 0) { >+ RequestMonitor rm = fOperationsPending.poll().rm; >+ rm.setStatus(getStatus()); >+ rm.done(); >+ } > super.handleFailure(); > } > }; >Index: src/org/eclipse/cdt/dsf/mi/service/MIRunControl.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/mi/service/MIRunControl.java,v >retrieving revision 1.36 >diff -u -r1.36 MIRunControl.java >--- src/org/eclipse/cdt/dsf/mi/service/MIRunControl.java 13 May 2011 11:13:02 -0000 1.36 >+++ src/org/eclipse/cdt/dsf/mi/service/MIRunControl.java 13 May 2011 14:27:17 -0000 >@@ -1156,7 +1156,14 @@ > // If we don't, we risk an infinite loop where we try, over and over > // to perform an operation that keeps on failing. > fOngoingOperation = false; >- fOperationsPending.clear(); >+ >+ // Complete each rm of the cancelled operations >+ while (fOperationsPending.size() > 0) { >+ RequestMonitor rm = fOperationsPending.poll().rm; >+ rm.setStatus(getStatus()); >+ rm.done(); >+ } >+ > super.handleFailure(); > } > };
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
marc.khouzam
:
iplog-
Actions:
View
|
Diff
Attachments on
bug 343862
:
195580
| 195594