Article ID: 000076192 Content Type: Troubleshooting Last Reviewed: 08/28/2012

Why doesn’t the Nios II Integrated Development Environment (IDE) debugger halt the processor when I set breakpoints in C constructors?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description

This is a widespread GNU GCC, GDB issue, not a Nios® II IDE-specific issue.

You can work around this issue by moving all of your constructor source code into another class method, called init. Then invoke this method from within the constructor.

 

Related Products

This article applies to 1 products

Intel® Programmable Devices