Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 127081 Details for
Bug 249227
[console][cdi] Add support for "verbose" tracing of MI commands in console
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Cleanup of old Verbose launch option
zpatch.txt (text/plain), 6.87 KB, created by
Marc Khouzam
on 2009-02-28 10:25:02 EST
(
hide
)
Description:
Cleanup of old Verbose launch option
Filename:
MIME Type:
Creator:
Marc Khouzam
Created:
2009-02-28 10:25:02 EST
Size:
6.87 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.cdt.dsf.gdb.ui >Index: src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb.ui/src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java,v >retrieving revision 1.2 >diff -u -r1.2 GdbDebuggerPage.java >--- src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java 9 Feb 2009 21:34:16 -0000 1.2 >+++ src/org/eclipse/cdt/dsf/gdb/internal/ui/launching/GdbDebuggerPage.java 28 Feb 2009 15:21:53 -0000 >@@ -47,8 +47,6 @@ > protected Text fGDBInitText; > protected Button fNonStopCheckBox; > protected Button fReverseCheckBox; >- protected Button fVerboseModeButton; >- > > private IMILaunchConfigurationComponent fSolibBlock; > private boolean fIsInitializing = false; >@@ -73,8 +71,6 @@ > IGDBLaunchConfigurationConstants.DEBUGGER_NON_STOP_DEFAULT); > configuration.setAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_REVERSE, > IGDBLaunchConfigurationConstants.DEBUGGER_REVERSE_DEFAULT); >- configuration.setAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_VERBOSE_MODE, >- IGDBLaunchConfigurationConstants.DEBUGGER_VERBOSE_MODE_DEFAULT); > > if (fSolibBlock != null) > fSolibBlock.setDefaults(configuration); >@@ -100,8 +96,6 @@ > String gdbInit = IGDBLaunchConfigurationConstants.DEBUGGER_GDB_INIT_DEFAULT; > boolean nonStopMode = IGDBLaunchConfigurationConstants.DEBUGGER_NON_STOP_DEFAULT; > boolean reverseEnabled = IGDBLaunchConfigurationConstants.DEBUGGER_REVERSE_DEFAULT; >- >- boolean verboseMode = IGDBLaunchConfigurationConstants.DEBUGGER_VERBOSE_MODE_DEFAULT; > > try { > gdbCommand = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUG_NAME, >@@ -130,21 +124,13 @@ > catch(CoreException e) { > } > >- try { >- verboseMode = configuration.getAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_VERBOSE_MODE, >- IGDBLaunchConfigurationConstants.DEBUGGER_VERBOSE_MODE_DEFAULT ); >- } >- catch(CoreException e) { >- } >- > if (fSolibBlock != null) > fSolibBlock.initializeFrom(configuration); > fGDBCommandText.setText(gdbCommand); > fGDBInitText.setText(gdbInit); > fNonStopCheckBox.setSelection(nonStopMode); > fReverseCheckBox.setSelection(reverseEnabled); >- fVerboseModeButton.setSelection(verboseMode); >- >+ > setInitializing(false); > } > >@@ -157,8 +143,6 @@ > fNonStopCheckBox.getSelection()); > configuration.setAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_REVERSE, > fReverseCheckBox.getSelection()); >- configuration.setAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_VERBOSE_MODE, >- fVerboseModeButton.getSelection() ); > > if (fSolibBlock != null) > fSolibBlock.performApply(configuration); >@@ -318,20 +302,6 @@ > } > }); > >- fVerboseModeButton = ControlFactory.createCheckBox( subComp, LaunchUIMessages.getString( "StandardGDBDebuggerPage.13" ) ); //$NON-NLS-1$ >- fVerboseModeButton.addSelectionListener(new SelectionAdapter() { >- @Override >- public void widgetDefaultSelected(SelectionEvent e) { >- if (!isInitializing()) >- updateLaunchConfigurationDialog(); >- } >- >- @Override >- public void widgetSelected(SelectionEvent e) { >- if (!isInitializing()) >- updateLaunchConfigurationDialog(); >- } >- }); > > // fit options one per line > gd = new GridData(); >@@ -340,14 +310,6 @@ > gd = new GridData(); > gd.horizontalSpan = 3; > fReverseCheckBox.setLayoutData(gd); >- gd = new GridData(); >- gd.horizontalSpan = 3; >- fVerboseModeButton.setLayoutData(gd); >- // Grayed out until bug 249227 is resolved >- // >- fVerboseModeButton.setVisible(false); >- // >- > } > > public void createSolibTab(TabFolder tabFolder) { >#P org.eclipse.cdt.dsf.gdb >Index: src/org/eclipse/cdt/dsf/gdb/IGDBLaunchConfigurationConstants.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/IGDBLaunchConfigurationConstants.java,v >retrieving revision 1.2 >diff -u -r1.2 IGDBLaunchConfigurationConstants.java >--- src/org/eclipse/cdt/dsf/gdb/IGDBLaunchConfigurationConstants.java 9 Feb 2009 21:34:15 -0000 1.2 >+++ src/org/eclipse/cdt/dsf/gdb/IGDBLaunchConfigurationConstants.java 28 Feb 2009 15:21:53 -0000 >@@ -77,12 +77,6 @@ > public static final String ATTR_DEBUGGER_AUTO_SOLIB_LIST = GdbPlugin.PLUGIN_ID + ".AUTO_SOLIB_LIST"; //$NON-NLS-1$ > > /** >- * Launch configuration attribute key. The value is a boolean specifying the mode of the gdb console. >- * @since 1.1 >- */ >- public static final String ATTR_DEBUGGER_VERBOSE_MODE = GdbPlugin.PLUGIN_ID + ".verboseMode"; //$NON-NLS-1$ >- >- /** > * Launch configuration attribute key. Boolean value to enable reverse debugging at launch time. > * @since 2.0 > */ >@@ -116,12 +110,6 @@ > public static final boolean DEBUGGER_USE_SOLIB_SYMBOLS_FOR_APP_DEFAULT = false; > > /** >- * Launch configuration attribute value. The key is ATTR_DEBUGGER_VERBOSE_MODE. >- * @since 1.1 >- */ >- public static final boolean DEBUGGER_VERBOSE_MODE_DEFAULT = false; >- >- /** > * Launch configuration attribute value. The key is ATTR_DEBUGGER_REVERSE. > * @since 2.0 > */ >Index: src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.cdt/dsf-gdb/org.eclipse.cdt.dsf.gdb/src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java,v >retrieving revision 1.2 >diff -u -r1.2 LaunchUtils.java >--- src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java 20 Jan 2009 19:36:02 -0000 1.2 >+++ src/org/eclipse/cdt/dsf/gdb/launching/LaunchUtils.java 28 Feb 2009 15:21:53 -0000 >@@ -228,9 +228,9 @@ > version = matcher.group(2); > // Temporary for cygwin, until GDB 7 is released > // Any cygwin GDB staring with 6.8 should be treated as plain 6.8 >- if (line.toLowerCase().indexOf("cygwin") != -1 && >- version.startsWith("6.8")) { >- version = "6.8"; >+ if (line.toLowerCase().indexOf("cygwin") != -1 && //$NON-NLS-1$ >+ version.startsWith("6.8")) { //$NON-NLS-1$ >+ version = "6.8"; //$NON-NLS-1$ > } > } > } >@@ -279,16 +279,5 @@ > } > return SessionType.LOCAL; > } >- >- public static boolean getConsoleVerboseMode(ILaunchConfiguration config) { >- boolean verboseMode = IGDBLaunchConfigurationConstants.DEBUGGER_VERBOSE_MODE_DEFAULT; >- try { >- verboseMode = config.getAttribute(IGDBLaunchConfigurationConstants.ATTR_DEBUGGER_VERBOSE_MODE, >- IGDBLaunchConfigurationConstants.DEBUGGER_VERBOSE_MODE_DEFAULT); >- } catch (CoreException e) { >- } >- return verboseMode; >- } >- > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 249227
:
114171
|
114208
|
114346
|
114801
|
115257
|
126220
|
126257
|
126334
|
127073
| 127081