Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
818 Views

NIOS II code crash! Strange Behaviour... NIOS bug?

Hi, Can anyone explain why debugger may be crashing?

 

Single stepping over CODE-A crashed the debugger requiring a power reset of USB blaster, sof download and restart eclipse.

 

Running over CODE-A works ok.

 

 

[CODE-A]:

for (int i=0; i < MAX_INPUT_STRING; ++i) e->cmd[i] = me->m_cmdString[i];

0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
37 Views

Hard to say. What options did you use when compiling? Compiling with anything other than -O0 could cause weird debug stuff to happen. How are "me" and "e" declared?

Reply