Search code examples
windowseclipsegdbeclipse-cdt

How to setup debugger in Eclipse Juno for C/C++ on windows


I installed Eclipse Juno for C/C++ Developers.

I created a small sample project with a few .c and .h files and a makefile. The project seems to compile fine and creates an executable. I'm then able to run the executable within Eclipse and in windows.

The problem is if I try debugging. I get the following error message: eclipse debug error

Here's my debug configuration: enter image description here


Solution

  • You need to select a parser for the debugger to function.

    http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_t_proj_parser.htm