teensycoder
Member
I'm not sure if this is the right place to put this but I had to start somewhere.
I'm using VS 22, Visualgdb 5.6R9 , teensydebug 0.1 dated 2020-06-09 and teensy 3.6.
When debuging I can put breakpoints anywhere in the ino file without a problem and the break occurs. As soon as I put one in an external class GDB crashes with an internal error.
Has anyone had this problem ? The gdb version that came with teensydebug is dated 2015 so I'm wondering if a later version would work.
Any help would be gratefully accepted.
Crash dump from visualGDB/GDB
C:\Program Files (x86)\Arduino\hardware\tools\arm\bin\arm-none-eabi-gdb --interpreter mi C:/Users/simon/source/repos/RobIOT/Output/Teensy_3_6/Debug/RobIOT.ino.elf
-gdb-version
=thread-group-added,id="i1"
~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20160923-cvs\n"
~"Copyright (C) 2015 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
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-w64-mingw32 --target=arm-none-eabi\".\nType \"show configuration\" for configuration details."
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\"...\n"
~"Reading symbols from C:/Users/simon/source/repos/RobIOT/Output/Teensy_3_6/Debug/RobIOT.ino.elf..."
~"done.\n"
~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20160923-cvs\n"
~"Copyright (C) 2015 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
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-w64-mingw32 --target=arm-none-eabi\".\nType \"show configuration\" for configuration details."
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\".\n"
^done
-list-features
^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info","language-option","info-gdb-mi-command","undefined-command-error-code","exec-run-start-option"]
-gdb-set verbose on
^done
-gdb-set disassembly-flavor intel
^error,msg="No symbol \"disassembly\" in current context."
-gdb-set print demangle off
^done
set serial baud 114200
&"set serial baud 114200\n"
=cmd-param-changed,param="serial baud",value="114200"
^done
target remote com3
&"target remote com3\n"
~"Remote debugging using com3\n"
=thread-group-started,id="i1",pid="42000"
=thread-created,id="1",group-id="i1"
&"warning: platform-specific solib_create_inferior_hook did not load initial shared libraries.\n"
~"Reading in symbols for C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp..."
~"done.\n"
~"0x00013486 in BlynkTimer::isValidTimer (id=7, this=0x1fff1ee4 <timer>) at C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h:193\n"
~"193\t return timer[id].callback || timer[id].callback_p;\n"
*stopped,frame={addr="0x00013486",func="BlynkTimer::isValidTimer",args=[{name="id",value="7"},{name="this",value="0x1fff1ee4 <timer>"}],file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\Blynk\\BlynkTimer.h",line="193"},thread-id="1",stopped-threads="all"
^done
info shared
&"info shared\n"
~"No shared libraries loaded at this time.\n"
^done
info target
&"info target\n"
~"Symbols from \"C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\RobIOT.ino.elf\".\n"
~"Remote serial target in gdb-specific protocol:\n"
~"Debugging a target over a serial line.\n"
~"\tWhile running this, GDB does not access memory from...\n"
~"Local exec file:\n"
~"\t`C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\RobIOT.ino.elf', file type elf32-littlearm.\n"
~"\tEntry point: 0x0\n"
~"\t0x00000000 - 0x00030988 @ 0x00010000 is .text\n"
~"\t0x00030988 - 0x0003098c @ 0x00040988 is .fini\n"
~"\t0x0003098c - 0x000309a0 @ 0x0004098c is .ARM.extab.text._ZSt19__throw_logic_errorPKc\n"
~"\t0x000309a0 - 0x000309b4 @ 0x000409a0 is .ARM.extab.text._ZSt20__throw_length_errorPKc\n"
~"\t0x000309b4 - 0x000309c0 @ 0x000409b4 is .ARM.extab.text._ZSt25__throw_bad_function_callv\n"
~"\t0x000309c0 - 0x000309d4 @ 0x000409c0 is .ARM.extab.text._ZNSt11logic_errorC2EPKc\n"
~"\t0x000309d4 - 0x000309e0 @ 0x000409d4 is .ARM.extab.text._ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag\n"
~"\t0x000309e0 - 0x000309f8 @ 0x000409e0 is .ARM.extab.text._ZNKSt3_V214error_category10_M_messageB5cxx11Ei\n"
~"\t0x000309f8 - 0x00030a18 @ 0x000409f8 is .ARM.extab.text.__cxa_begin_catch\n"
~"\t0x00030a18 - 0x00030a24 @ 0x00040a18 is .ARM.extab.text._ZL21base_of_encoded_valuehP15_Unwind_Context\n"
~"\t0x00030a24 - 0x00030a48 @ 0x00040a24 is .ARM.extab.text.__gxx_personality_v0\n"
~"\t0x00030a48 - 0x00030a74 @ 0x00040a48 is .ARM.extab.text._ZN10__cxxabiv111__terminateEPFvvE\n"
~"\t0x00030a74 - 0x00030a80 @ 0x00040a74 is .ARM.extab.text._ZN10__cxxabiv112__unexpectedEPFvvE\n"
~"\t0x00030a80 - 0x00030a8c @ 0x00040a80 is .ARM.extab.text._ZSt10unexpectedv\n"
~"\t0x00030a8c - 0x00030a98 @ 0x00040a8c is .ARM.extab.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERjj\n"
~"\t0x00030a98 - 0x00030ac0 @ 0x00040a98 is .ARM.extab.text.__cxa_call_unexpected\n"
~"\t0x00030ac0 - 0x00030af4 @ 0x00040ac0 is .ARM.extab.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv\n"
~"\t0x00030af4 - 0x00030b0c @ 0x00040af4 is .ARM.extab\n"
~"\t0x00030b0c - 0x00030d54 @ 0x00040b0c is .ARM.exidx\n"
~"\t0x1fff0000 - 0x1fff00a0 @ 0x00060000 is .usbdescriptortable\n"
~"\t0x1fff0200 - 0x1fff03d0 @ 0x00060000 is .dmabuffers\n"
~"\t0x1fff03d0 - 0x1fff0730 @ 0x00060000 is .usbbuffers\n"
~"\t0x1fff0730 - 0x1fff1de8 @ 0x00050730 is .data\n"
~"\t0x1fff1de8 - 0x1fff38ac @ 0x00051de8 is .bss\n"
^done
-data-evaluate-expression "&_estack"
^done,value="0x20030000"
-data-evaluate-expression "sizeof(void *)"
^done,value="4"
-data-evaluate-expression "sizeof(int)"
^done,value="4"
-data-evaluate-expression "sizeof(short)"
^done,value="2"
-data-evaluate-expression "sizeof(long)"
^done,value="4"
-data-evaluate-expression "sizeof(long long)"
^done,value="8"
-data-evaluate-expression "sizeof(char)"
^done,value="1"
-data-evaluate-expression "sizeof(wchar_t)"
^done,value="4"
-data-evaluate-expression "sizeof(float)"
^done,value="4"
-data-evaluate-expression "sizeof(double)"
^done,value="8"
-data-evaluate-expression "sizeof(long double)"
^done,value="8"
-var-create - * "*((void **)0x2002fffc)"
^done,name="var1",numchild="0",value="0x540a1279",type="void *",has_more="0"
-var-assign "var1" 0x55d7694b
^done,value="0x55d7694b"
-data-evaluate-expression "\*\(\(void\ \*\*\)0x2002fffc\)"
^done,value="0x55d7694b"
-break-insert -f main
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00019f5e",func="main()",file="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",fullname="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",line="51",thread-groups=["i1"],times="0",original-location="main"}
-exec-run
^error,msg="The \"remote\" target does not support \"run\". Try \"help target\" or \"continue\"."
-stack-list-frames --thread 1
~"Reading in symbols for C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\sketch\\Internet.cpp..."
~"done.\n"
~"Reading in symbols for C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\sketch\\RobIOT.ino.cpp..."
~"done.\n"
^done,stack=[frame={level="0",addr="0x00013486",func="BlynkTimer::isValidTimer",file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\Blynk\\BlynkTimer.h",line="193"},frame={level="1",addr="0x00013486",func="BlynkTimer::run",file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp",line="67"},frame={level="2",addr="0x000025f6",func="Internet::BlynkRun",file="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches/Internet.cpp",fullname="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches\\Internet.cpp",line="353"},frame={level="3",addr="0x00005ecc",func="loop",file="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches/RobIOT.ino",fullname="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches\\RobIOT.ino",line="161"},frame={level="4",addr="0x00019f66",func="main",file="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",fullname="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",line="53"}]
-stack-list-arguments --thread 1 0
^done,stack-args=[frame={level="0",args=[name="id",name="this"]},frame={level="1",args=[name="this"]},frame={level="2",args=[name="this"]},frame={level="3",args=[]},frame={level="4",args=[]}]
-thread-info
^done,threads=[{id="1",target-id="Thread <main>",frame={level="0",addr="0x00013486",func="BlynkTimer::isValidTimer",args=[{name="id",value="7"},{name="this",value="0x1fff1ee4 <timer>"}],file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\Blynk\\BlynkTimer.h",line="193"},state="stopped"}],current-thread-id="1"
-stack-list-frames --thread 1
^done,stack=[frame={level="0",addr="0x00013486",func="BlynkTimer::isValidTimer",file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\Blynk\\BlynkTimer.h",line="193"},frame={level="1",addr="0x00013486",func="BlynkTimer::run",file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp",line="67"},frame={level="2",addr="0x000025f6",func="Internet::BlynkRun",file="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches/Internet.cpp",fullname="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches\\Internet.cpp",line="353"},frame={level="3",addr="0x00005ecc",func="loop",file="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches/RobIOT.ino",fullname="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches\\RobIOT.ino",line="161"},frame={level="4",addr="0x00019f66",func="main",file="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",fullname="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",line="53"}]
-stack-list-arguments --thread 1 0
^done,stack-args=[frame={level="0",args=[name="id",name="this"]},frame={level="1",args=[name="this"]},frame={level="2",args=[name="this"]},frame={level="3",args=[]},frame={level="4",args=[]}]
-data-list-register-names
^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12","sp","lr","pc","","","","","","","","","","xpsr","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]
-var-create --frame 0 --thread 1 - * "unsigned"
&"Attempt to use a type name as an expression.\n"
^error,msg="-var-create: unable to create variable object"
-break-delete 1
^done
-exec-continue
^running
*running,thread-id="all"
~"Reading in symbols for C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\sketch\\Drive.cpp..."
~"done.\n"
~"\nProgram received signal "
~"SIGINT, Interrupt.\n"
~"0x000008d2 in elapsedMillis:
perator unsigned long (this=0x1fff2574 <UltrasoundTimer>) at C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3/elapsedMillis.h:42\n"
~"42\t\toperator unsigned long () const { return millis() - ms; }\n"
*stopped,reason="signal-received",signal-name="SIGINT",signal-meaning="Interrupt",frame={addr="0x000008d2",func="elapsedMillis:
perator unsigned long",args=[{name="this",value="0x1fff2574 <UltrasoundTimer>"}],file="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3/elapsedMillis.h",fullname="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\elapsedMillis.h",line="42"},thread-id="1",stopped-threads="all"
-break-insert -f C:/Users/simon/source/repos/RobIOT/Output/Teensy_3_6/Debug/sketch/Drive.cpp:152
~"/home/build/work/GCC-5-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit this debugging session? "
/home/build/work/GCC-5-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session?
~"(y or n) [answered Y; input not from terminal]\n"
&"\nThis is a bug, please report it."
&" For instructions, see:\n<http://www.gnu.org/software/gdb/bugs/>."
&"\n\n"
~"/home/build/work/GCC-5-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nCreate a core file of GDB? "
/home/build/work/GCC-5-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB?
~"(y or n) [answered Y; input not from terminal]\n"
-data-read-memory-bytes 0x8d2 4
I'm using VS 22, Visualgdb 5.6R9 , teensydebug 0.1 dated 2020-06-09 and teensy 3.6.
When debuging I can put breakpoints anywhere in the ino file without a problem and the break occurs. As soon as I put one in an external class GDB crashes with an internal error.
Has anyone had this problem ? The gdb version that came with teensydebug is dated 2015 so I'm wondering if a later version would work.
Any help would be gratefully accepted.
Crash dump from visualGDB/GDB
C:\Program Files (x86)\Arduino\hardware\tools\arm\bin\arm-none-eabi-gdb --interpreter mi C:/Users/simon/source/repos/RobIOT/Output/Teensy_3_6/Debug/RobIOT.ino.elf
-gdb-version
=thread-group-added,id="i1"
~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20160923-cvs\n"
~"Copyright (C) 2015 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
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-w64-mingw32 --target=arm-none-eabi\".\nType \"show configuration\" for configuration details."
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\"...\n"
~"Reading symbols from C:/Users/simon/source/repos/RobIOT/Output/Teensy_3_6/Debug/RobIOT.ino.elf..."
~"done.\n"
~"GNU gdb (GNU Tools for ARM Embedded Processors) 7.10.1.20160923-cvs\n"
~"Copyright (C) 2015 Free Software Foundation, Inc.\n"
~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law. Type \"show copying\"\nand \"show warranty\" for details.\n"
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-w64-mingw32 --target=arm-none-eabi\".\nType \"show configuration\" for configuration details."
This GDB was configured as "--host=i686-w64-mingw32 --target=arm-none-eabi".
Type "show configuration" for configuration details.
~"\nFor bug reporting instructions, please see:\n"
~"<http://www.gnu.org/software/gdb/bugs/>.\n"
~"Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/>.\n"
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
~"For help, type \"help\".\n"
~"Type \"apropos word\" to search for commands related to \"word\".\n"
^done
-list-features
^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-bytes","breakpoint-notifications","ada-task-info","language-option","info-gdb-mi-command","undefined-command-error-code","exec-run-start-option"]
-gdb-set verbose on
^done
-gdb-set disassembly-flavor intel
^error,msg="No symbol \"disassembly\" in current context."
-gdb-set print demangle off
^done
set serial baud 114200
&"set serial baud 114200\n"
=cmd-param-changed,param="serial baud",value="114200"
^done
target remote com3
&"target remote com3\n"
~"Remote debugging using com3\n"
=thread-group-started,id="i1",pid="42000"
=thread-created,id="1",group-id="i1"
&"warning: platform-specific solib_create_inferior_hook did not load initial shared libraries.\n"
~"Reading in symbols for C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp..."
~"done.\n"
~"0x00013486 in BlynkTimer::isValidTimer (id=7, this=0x1fff1ee4 <timer>) at C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h:193\n"
~"193\t return timer[id].callback || timer[id].callback_p;\n"
*stopped,frame={addr="0x00013486",func="BlynkTimer::isValidTimer",args=[{name="id",value="7"},{name="this",value="0x1fff1ee4 <timer>"}],file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\Blynk\\BlynkTimer.h",line="193"},thread-id="1",stopped-threads="all"
^done
info shared
&"info shared\n"
~"No shared libraries loaded at this time.\n"
^done
info target
&"info target\n"
~"Symbols from \"C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\RobIOT.ino.elf\".\n"
~"Remote serial target in gdb-specific protocol:\n"
~"Debugging a target over a serial line.\n"
~"\tWhile running this, GDB does not access memory from...\n"
~"Local exec file:\n"
~"\t`C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\RobIOT.ino.elf', file type elf32-littlearm.\n"
~"\tEntry point: 0x0\n"
~"\t0x00000000 - 0x00030988 @ 0x00010000 is .text\n"
~"\t0x00030988 - 0x0003098c @ 0x00040988 is .fini\n"
~"\t0x0003098c - 0x000309a0 @ 0x0004098c is .ARM.extab.text._ZSt19__throw_logic_errorPKc\n"
~"\t0x000309a0 - 0x000309b4 @ 0x000409a0 is .ARM.extab.text._ZSt20__throw_length_errorPKc\n"
~"\t0x000309b4 - 0x000309c0 @ 0x000409b4 is .ARM.extab.text._ZSt25__throw_bad_function_callv\n"
~"\t0x000309c0 - 0x000309d4 @ 0x000409c0 is .ARM.extab.text._ZNSt11logic_errorC2EPKc\n"
~"\t0x000309d4 - 0x000309e0 @ 0x000409d4 is .ARM.extab.text._ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag\n"
~"\t0x000309e0 - 0x000309f8 @ 0x000409e0 is .ARM.extab.text._ZNKSt3_V214error_category10_M_messageB5cxx11Ei\n"
~"\t0x000309f8 - 0x00030a18 @ 0x000409f8 is .ARM.extab.text.__cxa_begin_catch\n"
~"\t0x00030a18 - 0x00030a24 @ 0x00040a18 is .ARM.extab.text._ZL21base_of_encoded_valuehP15_Unwind_Context\n"
~"\t0x00030a24 - 0x00030a48 @ 0x00040a24 is .ARM.extab.text.__gxx_personality_v0\n"
~"\t0x00030a48 - 0x00030a74 @ 0x00040a48 is .ARM.extab.text._ZN10__cxxabiv111__terminateEPFvvE\n"
~"\t0x00030a74 - 0x00030a80 @ 0x00040a74 is .ARM.extab.text._ZN10__cxxabiv112__unexpectedEPFvvE\n"
~"\t0x00030a80 - 0x00030a8c @ 0x00040a80 is .ARM.extab.text._ZSt10unexpectedv\n"
~"\t0x00030a8c - 0x00030a98 @ 0x00040a8c is .ARM.extab.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_createERjj\n"
~"\t0x00030a98 - 0x00030ac0 @ 0x00040a98 is .ARM.extab.text.__cxa_call_unexpected\n"
~"\t0x00030ac0 - 0x00030af4 @ 0x00040ac0 is .ARM.extab.text._ZN9__gnu_cxx27__verbose_terminate_handlerEv\n"
~"\t0x00030af4 - 0x00030b0c @ 0x00040af4 is .ARM.extab\n"
~"\t0x00030b0c - 0x00030d54 @ 0x00040b0c is .ARM.exidx\n"
~"\t0x1fff0000 - 0x1fff00a0 @ 0x00060000 is .usbdescriptortable\n"
~"\t0x1fff0200 - 0x1fff03d0 @ 0x00060000 is .dmabuffers\n"
~"\t0x1fff03d0 - 0x1fff0730 @ 0x00060000 is .usbbuffers\n"
~"\t0x1fff0730 - 0x1fff1de8 @ 0x00050730 is .data\n"
~"\t0x1fff1de8 - 0x1fff38ac @ 0x00051de8 is .bss\n"
^done
-data-evaluate-expression "&_estack"
^done,value="0x20030000"
-data-evaluate-expression "sizeof(void *)"
^done,value="4"
-data-evaluate-expression "sizeof(int)"
^done,value="4"
-data-evaluate-expression "sizeof(short)"
^done,value="2"
-data-evaluate-expression "sizeof(long)"
^done,value="4"
-data-evaluate-expression "sizeof(long long)"
^done,value="8"
-data-evaluate-expression "sizeof(char)"
^done,value="1"
-data-evaluate-expression "sizeof(wchar_t)"
^done,value="4"
-data-evaluate-expression "sizeof(float)"
^done,value="4"
-data-evaluate-expression "sizeof(double)"
^done,value="8"
-data-evaluate-expression "sizeof(long double)"
^done,value="8"
-var-create - * "*((void **)0x2002fffc)"
^done,name="var1",numchild="0",value="0x540a1279",type="void *",has_more="0"
-var-assign "var1" 0x55d7694b
^done,value="0x55d7694b"
-data-evaluate-expression "\*\(\(void\ \*\*\)0x2002fffc\)"
^done,value="0x55d7694b"
-break-insert -f main
^done,bkpt={number="1",type="breakpoint",disp="keep",enabled="y",addr="0x00019f5e",func="main()",file="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",fullname="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",line="51",thread-groups=["i1"],times="0",original-location="main"}
-exec-run
^error,msg="The \"remote\" target does not support \"run\". Try \"help target\" or \"continue\"."
-stack-list-frames --thread 1
~"Reading in symbols for C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\sketch\\Internet.cpp..."
~"done.\n"
~"Reading in symbols for C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\sketch\\RobIOT.ino.cpp..."
~"done.\n"
^done,stack=[frame={level="0",addr="0x00013486",func="BlynkTimer::isValidTimer",file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\Blynk\\BlynkTimer.h",line="193"},frame={level="1",addr="0x00013486",func="BlynkTimer::run",file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp",line="67"},frame={level="2",addr="0x000025f6",func="Internet::BlynkRun",file="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches/Internet.cpp",fullname="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches\\Internet.cpp",line="353"},frame={level="3",addr="0x00005ecc",func="loop",file="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches/RobIOT.ino",fullname="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches\\RobIOT.ino",line="161"},frame={level="4",addr="0x00019f66",func="main",file="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",fullname="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",line="53"}]
-stack-list-arguments --thread 1 0
^done,stack-args=[frame={level="0",args=[name="id",name="this"]},frame={level="1",args=[name="this"]},frame={level="2",args=[name="this"]},frame={level="3",args=[]},frame={level="4",args=[]}]
-thread-info
^done,threads=[{id="1",target-id="Thread <main>",frame={level="0",addr="0x00013486",func="BlynkTimer::isValidTimer",args=[{name="id",value="7"},{name="this",value="0x1fff1ee4 <timer>"}],file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\Blynk\\BlynkTimer.h",line="193"},state="stopped"}],current-thread-id="1"
-stack-list-frames --thread 1
^done,stack=[frame={level="0",addr="0x00013486",func="BlynkTimer::isValidTimer",file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src/Blynk/BlynkTimer.h",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\Blynk\\BlynkTimer.h",line="193"},frame={level="1",addr="0x00013486",func="BlynkTimer::run",file="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp",fullname="C:\\Users\\simon\\OneDrive\\Documents\\Arduino\\Libraries\\blynk-library-master\\src\\utility\\BlynkTimer.cpp",line="67"},frame={level="2",addr="0x000025f6",func="Internet::BlynkRun",file="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches/Internet.cpp",fullname="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches\\Internet.cpp",line="353"},frame={level="3",addr="0x00005ecc",func="loop",file="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches/RobIOT.ino",fullname="C:\\Users\\simon\\source\\repos\\RobIOT\\sketches\\RobIOT.ino",line="161"},frame={level="4",addr="0x00019f66",func="main",file="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",fullname="C:\\Program Files (x86)\\Arduino\\hardware\\teensy\\avr\\cores\\teensy3\\main.cpp",line="53"}]
-stack-list-arguments --thread 1 0
^done,stack-args=[frame={level="0",args=[name="id",name="this"]},frame={level="1",args=[name="this"]},frame={level="2",args=[name="this"]},frame={level="3",args=[]},frame={level="4",args=[]}]
-data-list-register-names
^done,register-names=["r0","r1","r2","r3","r4","r5","r6","r7","r8","r9","r10","r11","r12","sp","lr","pc","","","","","","","","","","xpsr","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","",""]
-var-create --frame 0 --thread 1 - * "unsigned"
&"Attempt to use a type name as an expression.\n"
^error,msg="-var-create: unable to create variable object"
-break-delete 1
^done
-exec-continue
^running
*running,thread-id="all"
~"Reading in symbols for C:\\Users\\simon\\source\\repos\\RobIOT\\Output\\Teensy_3_6\\Debug\\sketch\\Drive.cpp..."
~"done.\n"
~"\nProgram received signal "
~"SIGINT, Interrupt.\n"
~"0x000008d2 in elapsedMillis:
~"42\t\toperator unsigned long () const { return millis() - ms; }\n"
*stopped,reason="signal-received",signal-name="SIGINT",signal-meaning="Interrupt",frame={addr="0x000008d2",func="elapsedMillis:
-break-insert -f C:/Users/simon/source/repos/RobIOT/Output/Teensy_3_6/Debug/sketch/Drive.cpp:152
~"/home/build/work/GCC-5-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nQuit this debugging session? "
/home/build/work/GCC-5-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session?
~"(y or n) [answered Y; input not from terminal]\n"
&"\nThis is a bug, please report it."
&" For instructions, see:\n<http://www.gnu.org/software/gdb/bugs/>."
&"\n\n"
~"/home/build/work/GCC-5-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.\nA problem internal to GDB has been detected,\nfurther debugging may prove unreliable.\nCreate a core file of GDB? "
/home/build/work/GCC-5-build/src/gdb/gdb/cp-namespace.c:343: internal-error: cp_search_static_and_baseclasses: Assertion `name[prefix_len + 1] == ':'' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB?
~"(y or n) [answered Y; input not from terminal]\n"
-data-read-memory-bytes 0x8d2 4