Forum Discussion
Altera_Forum
Honored Contributor
16 years agoSetting a conditional breakpoint
Is there any way to set a conditional breakpoint in the NIOS IDE tool. I would like to set a breakpoint during a condition within an if statement. For example for(i = 0; i < 0x1ffffff; i++)...
Altera_Forum
Honored Contributor
16 years agoThe only way such a breakpoint could be done would be for the debugger to break on every iteration and then perform the the required data test - continuing execution is the test wasn't met. I think gdb can do this, but you probably need to find the gdb command prompt!
So putting a breakpoint on a 'nop' is probably easier.