mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 06:02:11 +02:00
Send the target as the source.
This commit is contained in:
parent
b2f550ad38
commit
edd6e29eff
1 changed files with 6 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue