Skip to content

Commit

Permalink
Add to string methods for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
raghucssit committed Aug 14, 2024
1 parent 9e1be51 commit a7e62c4
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debug/org.eclipse.cdt.debug.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.cdt.debug.ui; singleton:=true
Bundle-Version: 8.5.500.qualifier
Bundle-Version: 8.5.600.qualifier
Bundle-Activator: org.eclipse.cdt.debug.ui.CDebugUIPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,4 +187,12 @@ private ISteppingModeTarget getTargetFromSelection(Object element) {
return target;
}

@Override
public String toString() {
if (fTarget != null) {
return super.toString().concat("-Instruction Stepping Mode: " + fTarget.isInstructionSteppingEnabled()); //$NON-NLS-1$
}
return super.toString();
}

}
2 changes: 1 addition & 1 deletion dsf/org.eclipse.cdt.dsf.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-Vendor: %providerName
Bundle-SymbolicName: org.eclipse.cdt.dsf.ui;singleton:=true
Bundle-Version: 2.7.300.qualifier
Bundle-Version: 2.7.400.qualifier
Bundle-Activator: org.eclipse.cdt.dsf.internal.ui.DsfUIPlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui;bundle-version="3.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,9 @@ public void removePropertyChangeListener(IPropertyChangeListener listener) {
fPreferences.removePropertyChangeListener(listener);
}

@Override
public String toString() {
return super.toString().concat("-Instruction Stepping Mode: " + isInstructionSteppingEnabled()); //$NON-NLS-1$
}

}

0 comments on commit a7e62c4

Please sign in to comment.