1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-30 21:55:31 +02:00

[309650] Turning on catchpoint while multi-threaded programs runs causes assertion

This commit is contained in:
John Cortell 2010-04-19 11:58:40 +00:00
parent 138550be13
commit 959e7d3658

View file

@ -48,11 +48,7 @@ public class CLICatchInfo extends MIInfo {
}
private MIBreakpoint parseCatchpoint(String str) {
if (str.startsWith("Catchpoint ")) { //$NON-NLS-1$
return new MIBreakpoint(str);
}
assert false : "CLI catch command had an unexpected result: " + str; //$NON-NLS-1$
return null;
return str.startsWith("Catchpoint ") ? new MIBreakpoint(str) : null; //$NON-NLS-1$
}
/**