Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/debug
diff options
context:
space:
mode:
authorMikhail Khodjaiants2007-06-14 10:49:59 +0000
committerMikhail Khodjaiants2007-06-14 10:49:59 +0000
commit22f4e3057797312bb4d896c8bae4eba7318d39fc (patch)
tree43911ca18d1d4ff0a2a92c725914d7e9c2b83ea8 /debug
parent97f8327c2abce0ae57c81b8523f2f77ca39bb516 (diff)
downloadorg.eclipse.cdt-22f4e3057797312bb4d896c8bae4eba7318d39fc.tar.gz
org.eclipse.cdt-22f4e3057797312bb4d896c8bae4eba7318d39fc.tar.xz
org.eclipse.cdt-22f4e3057797312bb4d896c8bae4eba7318d39fc.zip
Bug 192621: Address breakpoint markers are not shown in Disassembly view.
Diffstat (limited to 'debug')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
index 5513d8a0ce4..e4f95240eb2 100644
--- a/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
+++ b/debug/org.eclipse.cdt.debug.mi.core/cdi/org/eclipse/cdt/debug/mi/core/cdi/BreakpointManager.java
@@ -722,7 +722,7 @@ public class BreakpointManager extends Manager {
throw new CDIException(CdiResources.getString("cdi.BreakpointManager.Parsing_Error")); //$NON-NLS-1$
}
// Set
- if (bkpt.getFile().length() > 0)
+ if (bkpt.getFile() != null && bkpt.getFile().length() > 0)
{
for (int j = 0; j < points.length; j++) {
points[j].setFile(bkpt.getFile());

Back to the top