1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 14:12:10 +02:00

Send the target as the source.

This commit is contained in:
Alain Magloire 2002-08-29 03:41:29 +00:00
parent b2f550ad38
commit edd6e29eff

View file

@ -53,6 +53,11 @@ public class SuspendedEvent implements ICDISuspendedEvent {
*/ */
public ICDIObject getSource() { public ICDIObject getSource() {
CTarget target = session.getCTarget(); CTarget target = session.getCTarget();
// This not necessary, we can send the target as the source
// it will mean to cdi that all threads are suspended.
// FIXME: Remove this comment code after testing.
/*
int threadId = 0; int threadId = 0;
if (event instanceof MIBreakpointEvent) { if (event instanceof MIBreakpointEvent) {
MIBreakpointEvent breakEvent = (MIBreakpointEvent) event; MIBreakpointEvent breakEvent = (MIBreakpointEvent) event;
@ -84,7 +89,7 @@ public class SuspendedEvent implements ICDISuspendedEvent {
} }
} catch (CDIException e) { } catch (CDIException e) {
} }
*/
return target; return target;
} }
} }