Closed mirage335 closed 6 years ago
Latest commit seems to get the buttons working. However, continue seems to fail, running maybe a few lines of code until pause is clicked. Same problem now applies to running "../../_gdb" manually. In fact, it turns out, if "load" is used, then the buttons in atom-dbg work. However, only if "load" is not used, does "continue" work properly. Placing "monitor reset" after "load" in gdb_commands fixes this, though at the cost of breaking the buttons again.
Apparently, if gdb can continue, the atom-dbg GUI buttons are unable to interrupt.
Problem may be solved. This seems to work.
"Arduino Firmware":
debugger: "dbg-gdb"
gdb_executable: "_gdb"
gdb_commands: [
"target remote :3333"
"monitor reset init"
"monitor halt"
"load"
"monitor reset"
"monitor halt"
"stepi"
"stepi"
"stepi"
"stepi"
]
Retested. Sequence works. Closing.
Attempting to create a portable package, with Arduino and Atom, among other resources, wrapped in sophisticated shell scripts. Relevant configuration files, as linked. https://github.com/mirage335/arduinoUbiquitous https://github.com/mirage335/arduinoUbiquitous/tree/master/_lib/app/atom/home/.atom/packages https://github.com/mirage335/arduinoUbiquitous/blob/master/_lib/Blink/.atom-dbg.cson https://github.com/mirage335/arduinoUbiquitous/blob/master/_prog/core.sh
Running the GDB debugger manually works as expected.
However, while the atom-dbg/atom-dbg-gdb IDE starts up, shows the debugging buttons, windows, etc, none of the buttons (including pause, or setting breakpoints) are functional.