Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "CDT/StandaloneDebugger"
< CDT
(→Nov 18, 2013) |
(→How to try it out) |
||
Line 6: | Line 6: | ||
== How to try it out == | == How to try it out == | ||
− | # | + | # Get the CPP EPP Luna M4 product |
− | #* | + | #* http://mirrors.xmission.com/eclipse/technology/epp/downloads/release/luna/M4/eclipse-cpp-luna-M4-linux-gtk-x86_64.tar.gz |
− | + | # Untar the CPP EPP into $HOME/eclipse-cpp-luna-m4 or create a link with that name to where you place it | |
− | + | # Get the GDBStandalone jar file | |
− | + | #* wget http://download.eclipse.org/linuxtools/gdbstandalone/GDBStandalone_1.0.0.201312161857.jar | |
− | + | #* Place the GDBStandalone jar file into $HOME/eclipse-cpp-luna-m4/eclipse/downloads | |
− | + | # Get the gdbstandalone command | |
− | + | #* wget http://download.eclipse.org/linuxtools/gdbstandalone/gdbstandalone.zip | |
− | + | #* unzip gdbstandalone.zip into your $HOME directory | |
− | + | # Run the command | |
− | + | #* $HOME/run-gdbstandalone [-b build_log_location] -e executable_path [arg1 ... argn] | |
− | + | #* this will default to workspace-gdbstandalone | |
− | + | #* if you run with no arguments, it will debug the same executable you ran the last time | |
− | + | ||
− | # | + | |
− | # | + | |
− | #* | + | |
− | + | ||
− | + | ||
− | + | ||
− | #* | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | # | + | |
− | + | ||
− | #* | + | |
− | + | ||
− | #* | + | |
− | # | + | |
− | + | ||
− | + | ||
− | + | ||
− | #* | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | #* | + | |
− | #* | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
== Status == | == Status == |
Revision as of 19:23, 20 December 2013
This page details the effort to create a stand-alone Debugger using Eclipse.
Contents
How to try it out
- Get the CPP EPP Luna M4 product
- Untar the CPP EPP into $HOME/eclipse-cpp-luna-m4 or create a link with that name to where you place it
- Get the GDBStandalone jar file
- wget http://download.eclipse.org/linuxtools/gdbstandalone/GDBStandalone_1.0.0.201312161857.jar
- Place the GDBStandalone jar file into $HOME/eclipse-cpp-luna-m4/eclipse/downloads
- Get the gdbstandalone command
- wget http://download.eclipse.org/linuxtools/gdbstandalone/gdbstandalone.zip
- unzip gdbstandalone.zip into your $HOME directory
- Run the command
- $HOME/run-gdbstandalone [-b build_log_location] -e executable_path [arg1 ... argn]
- this will default to workspace-gdbstandalone
- if you run with no arguments, it will debug the same executable you ran the last time
Status
Sept 17, 2013
- first pass at standalone GDB debugger using CDT components
- using Eclipse application and restricting plug-ins used
- debugger is working but indexer is not being invoked
- header files not being recognized
Sept 23, 2013
- added default GCC spec file LanguageSettingsProvider
- this gets standard header files to open in Outline view
Sept 30, 2013
- added code to add all source files specified as Project resources
- this gets indexer to work and adds non-C-standard header file support
Oct 07, 2013
- Removed Source and Refactoring menus using IActivity filters
Oct 14, 2013
- added support for reading .debug_macro section to find command-line flags
- currently not being picked up by indexer for header files
Oct 21, 2013
- added Dwarf4 support to CDT
- code submitted upstream for review
- solved issue with indexer using data discovered from .debug_macro
- command line macros now discovered from modules compiled with -g3
Oct 28, 2013
- changed code to clean-up if an executable is specified
- running again with no executable specified will use the last launch
- added support for specifying build console
- build console is parsed for flags and include path settings
Nov 18, 2013
- added progress dialog
- added support for running via command-line script
- fixed program argument parsing
- figured out what minimally is needed to reuse repository
- fixed some warnings and errors
Dec 20, 2013
- added gdbstandalone.zip to run from command line with Luna M4 CPP EPP
- added default jar to use with Eclipse Luna M4 CPP EPP
- completed GDBStandalone.product which contains icons
- added check for invalid executable
- special dialog brought up to fix executable location and enter arguments
- fixed NPE issue when running debugger 2nd time on same workspace