Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Magloire2005-08-04 23:23:21 +0000
committerAlain Magloire2005-08-04 23:23:21 +0000
commit712823b2e4fff06ae4d9be6689d740c0f237c77e (patch)
tree94abf7399468ee72c4405eaae1d9991adc4b05dc
parentb262880f9cffbeb6c1bc558146045aa071a3eeb6 (diff)
downloadorg.eclipse.cdt-712823b2e4fff06ae4d9be6689d740c0f237c77e.tar.gz
org.eclipse.cdt-712823b2e4fff06ae4d9be6689d740c0f237c77e.tar.xz
org.eclipse.cdt-712823b2e4fff06ae4d9be6689d740c0f237c77e.zip
2005-08-04 Alain Magloire
Part fix for PR 100992: The signature was incorrect for structure/unions. * src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java
-rw-r--r--debug/org.eclipse.cdt.debug.ui/ChangeLog5
-rw-r--r--debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java3
2 files changed, 7 insertions, 1 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui/ChangeLog b/debug/org.eclipse.cdt.debug.ui/ChangeLog
index 2b1c4769cfb..8b57d1d2983 100644
--- a/debug/org.eclipse.cdt.debug.ui/ChangeLog
+++ b/debug/org.eclipse.cdt.debug.ui/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-04 Alain Magloire
+ Part fix for PR 100992: The signature was incorrect for structure/unions.
+
+ * src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java
+
2005-07-13 Mikhail Khodjaiants
Fixed the Memory view leaks.
* MemoryControlArea.java
diff --git a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java
index 5293dc8a849..f933604d714 100644
--- a/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java
+++ b/debug/org.eclipse.cdt.debug.ui/src/org/eclipse/cdt/debug/internal/ui/actions/ToggleBreakpointAdapter.java
@@ -394,7 +394,8 @@ public class ToggleBreakpointAdapter implements IToggleBreakpointsTarget {
StringBuffer name = new StringBuffer();
String methodName = method.getElementName();
ICElement parent = method.getParent();
- while ( parent != null && ( parent.getElementType() == ICElement.C_NAMESPACE || parent.getElementType() == ICElement.C_CLASS ) ) {
+ while ( parent != null && ( parent.getElementType() == ICElement.C_NAMESPACE || parent.getElementType() == ICElement.C_CLASS )
+ || parent.getElementType() == ICElement.C_STRUCT || parent.getElementType() == ICElement.C_UNION) {
name.append( parent.getElementName() ).append( "::" ); //$NON-NLS-1$
parent = parent.getParent();
}

Back to the top