Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-debug-dev] Projectless debugging of Linux apps

I just discovered that my Embedded GDB CDT plugin can do
projectless debugging of Linux apps :-)

0. Install Zylin Embedded CDT plugin + hacked up CDT
1. Create an empty Managed C++ project
2. Create an new debug session using the "Embedded CDT" launch type
3. Browse to select Linux executable. The "Embedded CDT" does not have
   the check whether the executable is part of the project.
4. Add the following GDB commands on the GDB commands tab:

	break main
	run

5. Run & debug

Voila! :-)


I'm planning on doing an update to the Embedded CDT plugin binaries 
sometime soon. 

Hmm.... perhaps I should rename the plugin to something less specific 
than "Embedded".

-- 
Øyvind Harboe
http://www.zylin.com



Back to the top