Debugging Frameworks
Debugging frameworks is an extremely difficult task. The integration between the gdb debugger and Project Builder’s capability to display a breakpoint’s source code doesn’t work as seamlessly with frameworks. The best advice that can be given regarding debugging frameworks is to come up with a workflow that removes the need for it.
An old programming adage says that the code that doesn’t need to be debugged is the easiest code to debug. Because using the debugger with frameworks can be tricky at best, it is better to fully debug code before adding it to a framework. It is common practice to create a test application to use as a debugging harness. The test application makes it easy to exercise all the features of an object. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access