I am new to Eclipse Helios and wonder how can one show the gdb traces in eclipse.
Asked
Active
Viewed 5,390 times
5
-
May be in `Window->show view->other...` – Harry Joy Mar 10 '11 at 13:22
-
I can see there a window called "trace control", but whenever I run in debug mode, using the standard process launche or DSF/GDB, no info appears in that window – Open the way Mar 10 '11 at 13:24
3 Answers
3
problem solved, under console, we can select the different views; gdb, gdb traces, and so on

Open the way
- 26,225
- 51
- 142
- 196
-
For anyone using Eclipse Neon and newer, this has changed since Eclipse Neon CDT 9.2 release. GDB traces option does not appear by default in the Console view. It must be first enabled in the Preferences as in the answer by @metdos. This change is documented: https://wiki.eclipse.org/CDT/User/NewIn92 – AlexF May 12 '21 at 17:31
2
Go to Preferences/(C/C++)/Debug/GDB, in General Behavior part, mark the next checkbox:
Show the GDB traces consoles with character limit

metdos
- 13,411
- 17
- 77
- 120
0
Install the necessary additional Eclipse plugins as explained here, then Run>Debug. The debug windows will open. When your program crashes, you will find the backtrace in the "Debug" window

Andrea Araldo
- 1,332
- 14
- 20