Skip to content

Unable to debug Step by Step and Insert Breakpoints on ESP8266 #12

@felipemcg

Description

@felipemcg

Hello to everyone. I'm having trouble when degugging the module, with the example code Blinky. The debugging session is started correctly, but when trying to insert a breakpoint, i get a warning saying: "Breakpoint Installation Failed". Apart from that, I can't debug step by step, the button isnt even enabled.
What im using:
-Sloeber V4.2 as IDE
-Arduino Core V 2.3.0
-Jantje ESP Hardware debug 1.0
-ESP8266(ESP-01 Black version)

Here is the debugger console output:
GNU gdb (GDB) 7.11
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details.
This GDB was configured as "--host=i686-pc-mingw32 --target=xtensa-lx106-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
(trace) gdbarch_init()
(trace) gdbarch_init()
(trace) xtensa_unwind_pc (next_frame = 0x82c1e40)
(info ) [xtensa_unwind_pc] pc = 0x4010025b
(trace) xtensa_alloc_frame_cache ()
(trace) call0_analyze_prologue (start = 0x4010025b, pc = 0x4010025b, ...)
(verb ) [call0_analyze_prologue] stopped at instr addr 0x4010025b, succeeded
gdbstub_do_break_breakpoint_addr () at D:\sloeber\arduinoPlugin\packages\Jantje\hardware\esp8266\1.0.0\libraries\gdb\gdbstub-entry.S:399
399 break 0,0
Warning: the current language does not match this frame.
(trace) xtensa_skip_prologue (start_pc = 0x40107038)
(trace) xtensa_breakpoint_from_pc (pc = 0x4010703d)
(trace) xtensa_skip_prologue (start_pc = 0x40107038)
(trace) xtensa_breakpoint_from_pc (pc = 0x40107044)
(trace) xtensa_skip_prologue (start_pc = 0x40106ff8)
(trace) xtensa_skip_prologue (start_pc = 0x40106ff8)
(trace) xtensa_breakpoint_from_pc (pc = 0x40106ffd)
(trace) xtensa_breakpoint_from_pc (pc = 0x40106ffd)
(trace) xtensa_breakpoint_from_pc (pc = 0x40106ffd)
(trace) xtensa_breakpoint_from_pc (pc = 0x4010703d)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions