mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 07:15:39 +02:00
Bug 568517: Module information for Breakpoints
Change-Id: I9751d2d921026b5f0052c7112ef69e975f7a44fe Signed-off-by: deepamin <deep.amin@intel.com>
This commit is contained in:
parent
1d2946184a
commit
477fdab7a1
3 changed files with 15 additions and 1 deletions
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
Bundle-Name: %pluginName
|
||||||
Bundle-SymbolicName: org.eclipse.cdt.debug.core; singleton:=true
|
Bundle-SymbolicName: org.eclipse.cdt.debug.core; singleton:=true
|
||||||
Bundle-Version: 8.5.0.qualifier
|
Bundle-Version: 8.6.0.qualifier
|
||||||
Bundle-Activator: org.eclipse.cdt.debug.core.CDebugCorePlugin
|
Bundle-Activator: org.eclipse.cdt.debug.core.CDebugCorePlugin
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
|
|
|
@ -385,9 +385,22 @@ public class CDebugUtils {
|
||||||
appendExtensionMessage(breakpoint, label);
|
appendExtensionMessage(breakpoint, label);
|
||||||
appendIgnoreCount(breakpoint, label);
|
appendIgnoreCount(breakpoint, label);
|
||||||
appendCondition(breakpoint, label);
|
appendCondition(breakpoint, label);
|
||||||
|
appendModule(breakpoint, label);
|
||||||
return label.toString();
|
return label.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @since 8.6
|
||||||
|
*/
|
||||||
|
protected static void appendModule(ICAddressBreakpoint breakpoint, StringBuffer buffer) throws CoreException {
|
||||||
|
String module = breakpoint.getModule();
|
||||||
|
if (module != null && module.length() > 0) {
|
||||||
|
buffer.append(' ');
|
||||||
|
buffer.append(MessageFormat.format(DebugCoreMessages.getString("CDebugUtils.9"), //$NON-NLS-1$
|
||||||
|
(Object[]) new String[] { module }));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
protected static String getFunctionBreakpointText(ICFunctionBreakpoint breakpoint, boolean qualified)
|
protected static String getFunctionBreakpointText(ICFunctionBreakpoint breakpoint, boolean qualified)
|
||||||
throws CoreException {
|
throws CoreException {
|
||||||
StringBuffer label = new StringBuffer();
|
StringBuffer label = new StringBuffer();
|
||||||
|
|
|
@ -23,6 +23,7 @@ CDebugUtils.5=[expression: ''{0}'']
|
||||||
CDebugUtils.6=[memory space: {0}]
|
CDebugUtils.6=[memory space: {0}]
|
||||||
CDebugUtils.7=[units: {0}]
|
CDebugUtils.7=[units: {0}]
|
||||||
CDebugUtils.8=[type: {0}]
|
CDebugUtils.8=[type: {0}]
|
||||||
|
CDebugUtils.9=[module: {0}]
|
||||||
CDebugUtils.printfString=[{0}]
|
CDebugUtils.printfString=[{0}]
|
||||||
CDebugUtils.Regular=Regular
|
CDebugUtils.Regular=Regular
|
||||||
CDebugUtils.Hardware=Hardware
|
CDebugUtils.Hardware=Hardware
|
||||||
|
|
Loading…
Add table
Reference in a new issue