Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • 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
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic I can not use breakpoints. (Read 1231 times)
kihara
Newbies
*
Offline


Posts: 5
Joined: Sep 17th, 2021
I can not use breakpoints.
Sep 21st, 2021 at 6:29am
Print Post  
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.
  

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


Posts: 5
Joined: Sep 17th, 2021
Re: I can not use breakpoints.
Reply #1 - Sep 21st, 2021 at 6:30am
Print Post  
next
  

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


Posts: 5
Joined: Sep 17th, 2021
Re: I can not use breakpoints.
Reply #2 - Sep 21st, 2021 at 6:33am
Print Post  
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()
  

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


Posts: 5
Joined: Sep 17th, 2021
Re: I can not use breakpoints.
Reply #3 - Sep 21st, 2021 at 6:36am
Print Post  
Output.txt

Starting: "C:\ProgramData\vmicro\tools\openocd-espressif-esp32-10.0.1\bin/openocd.exe" -d2 -l /Blink1.ino_DebugOpenOCD.log}" -s s/" -f s/interface/ftdi/esp32_devkitj_v1.cfg" -c "set ESP32_RTOS none" -f s/board/esp-wroom-32.cfg" -c "init; reset halt"
Starting: 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: 2143
Joined: Feb 13th, 2019
Re: I can not use breakpoints.
Reply #4 - Sep 21st, 2021 at 9:23am
Print Post  
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
Joined: Sep 17th, 2021
Re: I can not use breakpoints.
Reply #5 - Sep 22nd, 2021 at 6:28am
Print Post  
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 TopicPrint