Forum Discussion
Altera_Forum
Honored Contributor
16 years agoI have never tried setting a true conditional break point in Nios II IDE. However, a technique I have used before with many architectures is to simply add a NOP to your code with an IF statement on your condition. Then you can set a regular break point on the NOP.
So for your example, you could do something like:for(i = 0; i < 0x1ffffff; i++)
{
.
.
.
if(i == 0x1000000)
__asm__ volatile("nop"); <-- set break point here
.
.
.
}