Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Page Index Toggle Pages: 1
Send Topic Print
I can not use breakpoints. (Read 273 times)
kihara
Newbies
*
Offline



Posts: 5
I can not use breakpoints.
Sep 21st, 2021 at 7:29am
 
Debug: Hardware can not use errors and breakpoints can not be used.
I am troubled that some kind of setting is bad.
Debug: OFF works properly.

Please let me know if there is information that is not enough.
Thank you for advice.
Back to top
 

Please Register or Login to the Forum to see File Attachments
 
IP Logged
 
kihara
Newbies
*
Offline



Posts: 5
Re: I can not use breakpoints.
Reply #1 - Sep 21st, 2021 at 7:30am
 
next
Back to top
 

Please Register or Login to the Forum to see File Attachments
 
IP Logged
 
kihara
Newbies
*
Offline



Posts: 5
Re: I can not use breakpoints.
Reply #2 - Sep 21st, 2021 at 7:33am
 
Blink1.ino_DebugOpenOCD.log

none separate
none
adapter speed: 2000 kHz
Info : Configured 2 cores
esp32 interrupt mask on
Error: no device found
Error: unable to open ftdi device with vid 0403, pid 6010, description '*', serial '*' at bus location '*'

Warn : Flash driver of esp32.flash does not support free_driver_priv()
Warn : Flash driver of irom does not support free_driver_priv()
Warn : Flash driver of drom does not support free_driver_priv()
Back to top
 

Please Register or Login to the Forum to see File Attachments
 
IP Logged
 
kihara
Newbies
*
Offline



Posts: 5
Re: I can not use breakpoints.
Reply #3 - Sep 21st, 2021 at 7:36am
 
Output.txt

Starting: "C:\ProgramData\vmicro\tools\openocd-espressif-esp32-10.0.1\bin/openocd.exe" -d2 -l "{C:\Users\kihara.MASUNAGA1\AppData\Local\Temp\VMBuilds\Blink1\esp32_esp32\Debug
/Blink1.ino_DebugOpenOCD.log}" -s "C:\ProgramData\vmicro\tools\openocd-espressif-esp32-10.0.1/share/openocd/script
s/" -f "C:\ProgramData\vmicro\tools\openocd-espressif-esp32-10.0.1/share/openocd/script
s/interface/ftdi/esp32_devkitj_v1.cfg" -c "set ESP32_RTOS none" -f "C:\ProgramData\vmicro\tools\openocd-espressif-esp32-10.0.1/share/openocd/script
s/board/esp-wroom-32.cfg" -c "init; reset halt"
Starting: "C:\Users\kihara.MASUNAGA1\AppData\Local\arduino15\packages\esp32\tools\xtensa-e
sp32-elf-gcc\1.22.0-97-gc752ad5-5.2.0/bin\xtensa-esp32-elf-gdb.exe" --interpreter=mi -ex "set remote hardware-watchpoint-limit 2" -ex "mon reset halt" -ex "flushregs" -ex "thb app_main" -ex "c"
"C:\ProgramData\vmicro\tools\openocd-espressif-esp32-10.0.1\bin/openocd.exe" exited with code 1 (0x1).
Back to top
 
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline



Posts: 1057
Re: I can not use breakpoints.
Reply #4 - Sep 21st, 2021 at 10:23am
 
Thanks for the report.

From the first image, there is only a USB Lead connected to the ESP32 board.

Unless you are using a board with an in-built Hardware Debugger (e.g. ESP-WROVER-KIT), then you will need an additional board connected to the ESP, e.g. ESPPROG.  All pre-configured debuggers and wiring diagrams can be seen on our GDB and ESP32 Page

Alternatively you can use the Serial Debugger with your board, without any additional hardware, as shown on this page.

Back to top
 
 
IP Logged
 
kihara
Newbies
*
Offline



Posts: 5
Re: I can not use breakpoints.
Reply #5 - Sep 22nd, 2021 at 7:28am
 
Thank you for your response.
Hardware debug was misunderstood simply by connecting one USB code.
I study the serial debug tutorial and post an unknown point again.
Thank you very much.
Back to top
 
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print