mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 01:15:29 +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-Name: %pluginName
|
||||
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-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
|
|
|
@ -385,9 +385,22 @@ public class CDebugUtils {
|
|||
appendExtensionMessage(breakpoint, label);
|
||||
appendIgnoreCount(breakpoint, label);
|
||||
appendCondition(breakpoint, label);
|
||||
appendModule(breakpoint, label);
|
||||
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)
|
||||
throws CoreException {
|
||||
StringBuffer label = new StringBuffer();
|
||||
|
|
|
@ -23,6 +23,7 @@ CDebugUtils.5=[expression: ''{0}'']
|
|||
CDebugUtils.6=[memory space: {0}]
|
||||
CDebugUtils.7=[units: {0}]
|
||||
CDebugUtils.8=[type: {0}]
|
||||
CDebugUtils.9=[module: {0}]
|
||||
CDebugUtils.printfString=[{0}]
|
||||
CDebugUtils.Regular=Regular
|
||||
CDebugUtils.Hardware=Hardware
|
||||
|
|
Loading…
Add table
Reference in a new issue