Hi Gordon,
Thanks for that. See below. I had to run bt before continue as seemed to exit and provide no info, only No stack. Hopefully this is what you're after.
bt
continue
No stack
(gdb) start Temporary breakpoint 2 at 0x806abc7: file targets/linux/main.c, line 252. Starting program: /usr/local/bin/espruino [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Temporary breakpoint 2, main (argc=1, argv=0x7ffffffde3a8) at targets/linux/main.c:252 252 int i, args = 0; (gdb) bt #0 main (argc=1, argv=0x7ffffffde3a8) at targets/linux/main.c:252 (gdb) continue Continuing. Interactive mode. Size of JsVar is now 32 bytes Size of JsVarRef is now 4 bytes Added SIGINT hook Added SIGHUP hook Added SIGTERM hook [New Thread 0x7ffffe570700 (LWP 12967)] ASSERT(strlen(name)<=8) FAILED AT src/jsflash.c:56 #1[r1,l2] Object { #2[r1,l2] Name String [1 blocks] "\xFF" #3[r1,l1] Object { #6[r1,l2] Name String [1 blocks] "timers" #7[r2,l0] Array(0) [ ] #8[r1,l2] Name String [1 blocks] "watches" #9[r2,l0] Array(0) [ ] } } EXITING. [Thread 0x7fffff7b0740 (LWP 12966) exited] [Inferior 1 (process 12966) exited with code 01] (gdb) q
Cheers
@ryan42 started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi Gordon,
Thanks for that. See below. I had to run
bt
beforecontinue
as seemed to exit and provide no info, onlyNo stack
. Hopefully this is what you're after.Cheers