Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Debug error no stack

I want to debug my software but i got some errors while trying to:

mi_cmd_stack_list_frames: No stack.

No symbol "new" in current context.

Current language: auto; currently asm

Watchdog has expired. Target detached.

The program is not being run.

the program is simple so it should not be a problem ;)

# include <io.h># include "system.h"

int main(){

int a=1, x=0;

while(1){

a=1;

for(x=0;x<=3;x++){

IOWR(CPU_1_LED_BASE,0,a);

a=a<<1;

usleep(150000);

}

}

}

the moment i place a new breakpoint the debugging stops with an error that there is no *.c File :/

hope someone can help me

1 Reply