GDB ERROR: "No symbol table is loaded. Use the "file" command." on Windows
Hello,
I am trying out programming the ESP32C6 DevKit C-1 V1.2 on CLion by using the blink example program provided in the ESP-IDF.
I followed the instructions here: Developing for ESP32 With CLion on Windows and ESP-IDF | CLion Documentation to setup the environement.
When trying to flash the program on to the board, I got the error "Monitor requires standard input to be attached to TTY" and I followed the instruction here ESP-IDF Monitor error: Monitor requires standard input to be attached to TTY : CPP-34647 to fix the error. This worked and I could upload the program to the Board using the run button on CLion.
But I want to step through the program, basically debug it but when i click the debug icon, it uplaods the program unto the Board and the process gets ended.
On the Console i see “Process finished with exit code 1”
On GDB Terminal(not sure if thats what its called) I get:
For help, type "help".
Type "apropos word" to search for commands related to "word".
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
No symbol table is loaded. Use the "file" command.
unset env HOME
[New Thread 7512.0x2fd8]
[New Thread 7512.0x6e50]
[New Thread 7512.0x64bc]
[Thread 7512.0x64bc exited with code 1]
[Thread 7512.0x6e50 exited with code 1]
[Thread 7512.0x2fd8 exited with code 1]
[Inferior 1 (process 7512) exited with code 01]
When i write a simple hello world program on clion (without uploading to a chip), i can debug without problems.
What is the solution?
Thanks!
请先登录再写评论。