Hi, I am trying to debug a design in SDK (Vivado/SDK 2017.4) and some breakpoints seem to work while others tell me 'breakpoint failed to plant: Unresolved source line information'. I have pasted in my setup shown below. Any help on getting these to work is appreciated.

How do I debug using Dev-C++?

If a source file has changed and the source no longer matches the code you are debugging, the debugger will not set breakpoints in the code by default. Normally, this problem happens when a source file is changed, but the source code wasn’t rebuilt. To fix this issue, rebuild the project. Unable to debug / set breakpoints in C/CLI project. (Analyzer) wrongly outputs groupShared variable as 'Not used'. 0 Solution Bad code-gen in Chrome's mojopublicbindingsunittests 3 Solution Build output is garbled when using cmake in chinese environment. Cannot create breakpoints using the context operator (native C). Why is debugging not working? Why are my files corrupted on format? Files can be corrupted due to the fact that you either have a multi-root workspace where one folder is a child of the other, or you are using symlinks to open your file. Reduce the folders in the workspace to one and remove the symlink. Jul 26, 2013  I'm having problem in using breakpoint. I'm creating a website in VS2005 in ASP.Net/C# language. But the problem is i can't seem to use the breakpoint. After putting the toggle breakpoint, and i.

First, make sure you are using a project.


Then go to
Project Options - Compiler - Linker and set Generate debugging information to 'yes', and make sure you are not using any optimization options (they're not good for debug mode). Also check the Parameters tab, make sure you don't have any optimization options (like -O2 or -O3, but -O0 is ok because it means no optimization) or strip option (-s).
After that, do a full rebuild (Ctrl-F11), then set breakpoint(s) where you want the debugger to stop (otherwise it will just run the program). To set a breakpoint on a line, just click on the gutter (the gray band on the left), or press Ctrl-F5.

Dev C++ Breakpoints


Now you are ready to launch the debugger, by pressing F8 or clicking the debug button. If everything goes well, the program will start, and then stop at the first breakpoint. Then you can step through the code, entering function calls, by pressing Shift-F7 or the 'step into' button, or stepping over the function calls, by pressing F7 or the 'next step' button. You can press Ctrl-F7 or the 'continue' button to continue execution till the next breakpoint. At any time, you can add or remove breakpoints.

Little snitch sale.
When the program stopped at a breakpoint and you are stepping through the code, you can display the values of various variables in your program by putting your mouse over them, or you can display variables and expressions by pressing F4 or the 'add watch' button and typing the expression.

Set Breakpoint Gdb C


For more information refer to the help included with Dev-C++.