1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 10:16:03 +02:00

Bug 444395 - Breakpoints don't get set for second session.

Change-Id: Ifa857cc2e9de00bb2f2a86b9d5e73536294dd01d
Signed-off-by: Marc Khouzam <marc.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/33517
This commit is contained in:
Marc Khouzam 2014-09-17 16:12:58 -04:00
parent 2d3e5f7187
commit 7d817be44a

View file

@ -1891,6 +1891,11 @@ public class MIBreakpointsManager extends AbstractDsfService implements IBreakpo
return results; return results;
} }
if (threads.isEmpty()) {
results.add("0"); //$NON-NLS-1$
return results;
}
for (IExecutionDMContext[] targetThreads : threads) { for (IExecutionDMContext[] targetThreads : threads) {
if (targetThreads != null) { if (targetThreads != null) {
for (IExecutionDMContext thread : targetThreads) { for (IExecutionDMContext thread : targetThreads) {