mico666

Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • in reply to: Make Live Variables faster using Segger J-Link #21700
    mico666
    Participant

    Thanks for clearing this…

     

    in reply to: Live Memory Engine prevents Live Variables to be shown #9815
    mico666
    Participant

    Thanks a lot for your support and for this great product. It’s working now.

    in reply to: Live Memory Engine prevents Live Variables to be shown #9809
    mico666
    Participant

    Hi,

    I made a short video that makes this behavior clear: https://drive.google.com/open?id=0B5WiEZNPXgbET2NfcTJmY29VRFE

     

    The GDB output of a working debugging session:

     

    C:\SysGCC\arm-eabi\bin\arm-eabi-gdb.exe –interpreter mi C:\EmbeddedProject6\VisualGDB\Debug\EmbeddedProject6
    [       0 ms] -gdb-version
    [      45 ms] =thread-group-added,id=”i1″
    [      45 ms] ~”GNU gdb (GDB) 7.12\n”
    [      45 ms] ~”Copyright (C) 2016 Free Software Foundation, Inc.\n”
    [      46 ms] ~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;\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”
    [      46 ms] ~”This GDB was configured as \”–host=i686-pc-mingw32 –target=arm-eabi\”.\nType \”show configuration\” for configuration details.”
    [      47 ms] ~”\nFor bug reporting instructions, please see:\n”
    [      47 ms] ~”<http://www.gnu.org/software/gdb/bugs/&gt;.\n”
    [      47 ms] ~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/&gt;.\n”
    [      47 ms] ~”For help, type \”help\”.\n”
    [      47 ms] ~”Type \”apropos word\” to search for commands related to \”word\”…\n”
    [      49 ms] ~”Reading symbols from C:\\EmbeddedProject6\\VisualGDB\\Debug\\EmbeddedProject6…”
    [      51 ms] ~”done.\n”
    [      52 ms] ~”GNU gdb (GDB) 7.12\n”
    [      52 ms] ~”Copyright (C) 2016 Free Software Foundation, Inc.\n”
    [      53 ms] ~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;\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”
    [      53 ms] ~”This GDB was configured as \”–host=i686-pc-mingw32 –target=arm-eabi\”.\nType \”show configuration\” for configuration details.”
    [      53 ms] ~”\nFor bug reporting instructions, please see:\n”
    [      54 ms] ~”<http://www.gnu.org/software/gdb/bugs/&gt;.\n”
    [      54 ms] ~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/&gt;.\n”
    [      54 ms] ~”For help, type \”help\”.\n”
    [      54 ms] ~”Type \”apropos word\” to search for commands related to \”word\”.\n”
    [      54 ms] ^done
    [      54 ms] -list-features
    [      55 ms] ^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”]
    [      55 ms] -gdb-set disassembly-flavor intel
    [      56 ms] ^error,msg=”No symbol \”disassembly\” in current context.”
    [      56 ms] -gdb-set print demangle off
    [      56 ms] ^done
    [      57 ms] -break-insert -f main
    [      66 ms] ^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x080008d6″,func=”main”,file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″,thread-groups=[“i1″],times=”0″,original-location=”main”}
    [      67 ms] set remotetimeout 60
    [      67 ms] &”set remotetimeout 60\n”
    [      67 ms] =cmd-param-changed,param=”remotetimeout”,value=”60″
    [      67 ms] ^done
    [      67 ms] target remote :1780
    [      67 ms] &”target remote :1780\n”
    [      73 ms] ~”Remote debugging using :1780\n”
    [      80 ms] =thread-group-started,id=”i1″,pid=”42000″
    [      80 ms] =thread-created,id=”1″,group-id=”i1″
    [      87 ms] ~”Reset_Handler () at C:/Users/anders/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F3xxxx/StartupFiles/startup_stm32f303xe.c:886\n”
    [      87 ms] ~”886\t\tfor (pSource = &_sidata, pDest = &_sdata; pDest != &_edata; pSource++, pDest++)\n”
    [      88 ms] *stopped,frame={addr=”0x08000288″,func=”Reset_Handler”,args=[],file=”C:/Users/anders/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F3xxxx/StartupFiles/startup_stm32f303xe.c”,fullname=”C:\\Users\\anders\\AppData\\Local\\VisualGDB\\EmbeddedBSPs\\arm-eabi\\com.sysprogs.arm.stm32\\STM32F3xxxx\\StartupFiles\\startup_stm32f303xe.c”,line=”886″},thread-id=”1″,stopped-threads=”all”
    [      89 ms] ^done
    [      89 ms] info shared
    [      99 ms] &”info shared\n”
    [      99 ms] ~”No shared libraries loaded at this time.\n”
    [      99 ms] ^done
    [      99 ms] mon halt
    [      99 ms] &”mon halt\n”
    [     101 ms] ^done
    [     101 ms] mon reset init
    [     102 ms] &”mon reset init\n”
    [     103 ms] @”Unable to match requested speed 1000 kHz, using 950 kHz\n”
    [     104 ms] @”Unable to match requested speed 1000 kHz, using 950 kHz\n”
    [     104 ms] @”adapter speed: 950 kHz\n”
    [     192 ms] @”stm32f3x.cpu: target state: halted\n”
    [     192 ms] @”target halted due to debug-request, current mode: Thread \n”
    [     193 ms] @”xPSR: 0x01000000 pc: 0x08000288 msp: 0x20010000\n”
    [     211 ms] @”Unable to match requested speed 8000 kHz, using 4000 kHz\n”
    [     212 ms] @”Unable to match requested speed 8000 kHz, using 4000 kHz\n”
    [     212 ms] @”adapter speed: 4000 kHz\n”
    [     215 ms] ^done
    [     215 ms] load
    [     215 ms] &”load\n”
    [     377 ms] ~”Loading section .isr_vector, size 0x194 lma 0x8000000\n”
    [     378 ms] +download,{section=”.isr_vector”,section-size=”404″,total-size=”41622″}
    [     378 ms] +download,{section=”.isr_vector”,section-sent=”404″,section-size=”404″,total-sent=”404″,total-size=”41622″}
    [     378 ms] ~”Loading section .text, size 0x870 lma 0x8000194\n”
    [     379 ms] +download,{section=”.text”,section-size=”2160″,total-size=”41622″}
    [     379 ms] ~”Loading section .init_array, size 0x4 lma 0x8000a04\n”
    [     380 ms] +download,{section=”.init_array”,section-size=”4″,total-size=”41622″}
    [     380 ms] ~”Loading section .fini_array, size 0x4 lma 0x8000a08\n”
    [     380 ms] +download,{section=”.fini_array”,section-size=”4″,total-size=”41622″}
    [     381 ms] ~”Loading section .data, size 0x4 lma 0x8000a0c\n”
    [     381 ms] +download,{section=”.data”,section-size=”4″,total-size=”41622″}
    [     634 ms] ~”Start address 0x8000288, load size 2576\n”
    [     639 ms] ~”Transfer rate: 6 KB/sec, 515 bytes/write.\n”
    [     640 ms] ^done
    [     640 ms] -data-evaluate-expression “sizeof(void *)”
    [     640 ms] ^done,value=”4″
    [     640 ms] -data-evaluate-expression “sizeof(int)”
    [     640 ms] ^done,value=”4″
    [     640 ms] ^done,value=”4″
    [     640 ms] -data-evaluate-expression “sizeof(short)”
    [     641 ms] ^done,value=”2″
    [     641 ms] -data-evaluate-expression “sizeof(long)”
    [     651 ms] ^done,value=”4″
    [     651 ms] -data-evaluate-expression “sizeof(long long)”
    [     651 ms] ^done,value=”8″
    [     651 ms] -data-evaluate-expression “sizeof(char)”
    [     652 ms] ^done,value=”1″
    [     652 ms] -data-evaluate-expression “sizeof(wchar_t)”
    [     652 ms] ^error,msg=”No symbol \”wchar_t\” in current context.”
    [     652 ms] -data-evaluate-expression “sizeof(float)”
    [     652 ms] ^done,value=”4″
    [     652 ms] -data-evaluate-expression “sizeof(double)”
    [     653 ms] ^done,value=”8″
    [     653 ms] -data-evaluate-expression “sizeof(long double)”
    [     653 ms] ^done,value=”8″
    [     699 ms] x/32xb 0x20000000
    [     703 ms] &”x/32xb 0x20000000\n”
    [     710 ms] ~”0x20000000 <SystemCoreClock>:\t0x16\t0x68\t0x00\t0x2e\t0x18\t0xd0\t0x55\t0x68\n”
    [     718 ms] ~”0x20000008 <object.6502>:\t0xb5\t0x42\t0xf9\t0xd0\t0x2e\t0x88\t0x26\t0x80\n”
    [     727 ms] ~”0x20000010 <object.6502+8>:\t0x02\t0x35\t0x02\t0x34\t0xc6\t0x68\t0x01\t0x27\n”
    [     736 ms] ~”0x20000018 <object.6502+16>:\t0x3e\t0x42\t0xfb\t0xd1\t0x14\t0x27\t0x3e\t0x42\n”
    [     736 ms] ^done
    [     740 ms] -var-create – * “&(i)”
    [     746 ms] ^done,name=”var1″,numchild=”1″,value=”0x20000028 <i>”,type=”int *”,has_more=”0″
    [     746 ms] -var-create – * “i”
    [     748 ms] ^done,name=”var2″,numchild=”0″,value=”1616196872″,type=”int”,has_more=”0″
    [    1753 ms] -var-create – * “&(j)”
    [    1758 ms] ^done,name=”var3″,numchild=”1″,value=”0x20000024 <j>”,type=”int *”,has_more=”0″
    [    1761 ms] -var-create – * “j”
    [    1779 ms] ^done,name=”var4″,numchild=”0″,value=”1175835393″,type=”int”,has_more=”0″
    [    1784 ms] -var-delete “var1″
    [    1790 ms] ^done,ndeleted=”1”
    [    1790 ms] -var-delete “var2″
    [    1790 ms] ^done,ndeleted=”1”
    [    1790 ms] -var-delete “var3″
    [    1790 ms] ^done,ndeleted=”1″
    [    1811 ms] info target
    [    1820 ms] &”info target\n”
    [    1820 ms] ~”Symbols from \”C:\\EmbeddedProject6\\VisualGDB\\Debug\\EmbeddedProject6\”.\n”
    [    1820 ms] ~”Remote serial target in gdb-specific protocol:\n”
    [    1820 ms] ~”Debugging a target over a serial line.\n”
    [    1821 ms] ~”\tWhile running this, GDB does not access memory from…\n”
    [    1821 ms] ~”Local exec file:\n”
    [    1821 ms] ~”\t`C:\\EmbeddedProject6\\VisualGDB\\Debug\\EmbeddedProject6′, file type elf32-littlearm.\n”
    [    1821 ms] ~”\tEntry point: 0x8000288\n”
    [    1821 ms] ~”\t0x08000000 – 0x08000194 is .isr_vector\n”
    [    1822 ms] ~”\t0x08000194 – 0x08000a04 is .text\n”
    [    1822 ms] ~”\t0x08000a04 – 0x08000a08 is .init_array\n”
    [    1822 ms] ~”\t0x08000a08 – 0x08000a0c is .fini_array\n”
    [    1822 ms] ~”\t0x20000000 – 0x20000004 is .data\n”
    [    1822 ms] ~”\t0x20000004 – 0x2000002c is .bss\n”
    [    1822 ms] ^done
    [    1856 ms] -data-evaluate-expression “&_estack”
    [    1871 ms] ^done,value=”0x20010000″
    [    1871 ms] -var-create – * “*((void **)0x2000fffc)”
    [    1887 ms] ^done,name=”var5″,numchild=”0″,value=”0x80002b9 <Reset_Handler+48>”,type=”void *”,has_more=”0″
    [    1887 ms] -var-assign “var5″ 0x697f6360
    [    1887 ms] ^done,value=”0x697f6360”
    [    1887 ms] -data-evaluate-expression “\*\(\(void\ \*\*\)0x2000fffc\)”
    [    1887 ms] ^done,value=”0x697f6360″
    [    1887 ms] -exec-continue
    [    1887 ms] ^running
    [    1887 ms] *running,thread-id=”all”
    [    1887 ms] ~”Note: automatically using hardware breakpoints for read-only addresses.\n”
    [    2074 ms] =breakpoint-modified,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x080008d6″,func=”main”,file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″,thread-groups=[“i1″],times=”1″,original-location=”main”}
    [    2090 ms] ~”\n”
    [    2090 ms] ~”Breakpoint 1, main () at LEDBlink.c:18\n”
    [    2090 ms] ~”18\t\tHAL_Init();\n”
    [    2090 ms] *stopped,reason=”breakpoint-hit”,disp=”keep”,bkptno=”1″,frame={addr=”0x080008d6″,func=”main”,args=[],file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″},thread-id=”1″,stopped-threads=”all”
    [    2090 ms] -stack-list-frames –thread 1
    [    2105 ms] ^done,stack=[frame={level=”0″,addr=”0x080008d6″,func=”main”,file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″}]
    [    2105 ms] -stack-list-arguments –thread 1 1
    [    2121 ms] ^done,stack-args=[frame={level=”0″,args=[]}]
    [    2121 ms] -stack-list-frames –thread 1
    [    2137 ms] ^done,stack=[frame={level=”0″,addr=”0x080008d6″,func=”main”,file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″}]
    [    2137 ms] -stack-list-arguments –thread 1 1
    [    2137 ms] ^done,stack-args=[frame={level=”0″,args=[]}]
    [    2152 ms] x/32xb 0x20000000
    [    2168 ms] &”x/32xb 0x20000000\n”
    [    2183 ms] ~”0x20000000 <SystemCoreClock>:\t0x00\t0x12\t0x7a\t0x00\t0x00\t0x00\t0x00\t0x00\n”
    [    2199 ms] ~”0x20000008 <object.6502>:\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\n”
    [    2199 ms] ~”0x20000010 <object.6502+8>:\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\n”
    [    2215 ms] ~”0x20000018 <object.6502+16>:\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\t0x00\n”
    [    2215 ms] ^done
    [    4867 ms] -gdb-exit
    [    4882 ms] ^exit
    [    4882 ms] =thread-group-exited,id=”i1″

     

    GDB output of a non working session:

     

    C:\SysGCC\arm-eabi\bin\arm-eabi-gdb.exe –interpreter mi C:\EmbeddedProject6\VisualGDB\Debug\EmbeddedProject6
    [       0 ms] -gdb-version
    [      37 ms] =thread-group-added,id=”i1″
    [      37 ms] ~”GNU gdb (GDB) 7.12\n”
    [      38 ms] ~”Copyright (C) 2016 Free Software Foundation, Inc.\n”
    [      38 ms] ~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;\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”
    [      39 ms] ~”This GDB was configured as \”–host=i686-pc-mingw32 –target=arm-eabi\”.\nType \”show configuration\” for configuration details.”
    [      39 ms] ~”\nFor bug reporting instructions, please see:\n”
    [      39 ms] ~”<http://www.gnu.org/software/gdb/bugs/&gt;.\n”
    [      39 ms] ~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/&gt;.\n”
    [      40 ms] ~”For help, type \”help\”.\n”
    [      40 ms] ~”Type \”apropos word\” to search for commands related to \”word\”…\n”
    [      41 ms] ~”Reading symbols from C:\\EmbeddedProject6\\VisualGDB\\Debug\\EmbeddedProject6…”
    [      42 ms] ~”done.\n”
    [      43 ms] ~”GNU gdb (GDB) 7.12\n”
    [      44 ms] ~”Copyright (C) 2016 Free Software Foundation, Inc.\n”
    [      44 ms] ~”License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;\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”
    [      45 ms] ~”This GDB was configured as \”–host=i686-pc-mingw32 –target=arm-eabi\”.\nType \”show configuration\” for configuration details.”
    [      45 ms] ~”\nFor bug reporting instructions, please see:\n”
    [      45 ms] ~”<http://www.gnu.org/software/gdb/bugs/&gt;.\n”
    [      45 ms] ~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/&gt;.\n”
    [      45 ms] ~”For help, type \”help\”.\n”
    [      45 ms] ~”Type \”apropos word\” to search for commands related to \”word\”.\n”
    [      46 ms] ^done
    [      46 ms] -list-features
    [      46 ms] ^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”]
    [      46 ms] -gdb-set disassembly-flavor intel
    [      47 ms] ^error,msg=”No symbol \”disassembly\” in current context.”
    [      47 ms] -gdb-set print demangle off
    [      47 ms] ^done
    [      48 ms] -break-insert -f main
    [      57 ms] ^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x080008d6″,func=”main”,file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″,thread-groups=[“i1″],times=”0″,original-location=”main”}
    [      58 ms] set remotetimeout 60
    [      58 ms] &”set remotetimeout 60\n”
    [      58 ms] =cmd-param-changed,param=”remotetimeout”,value=”60″
    [      58 ms] ^done
    [      58 ms] target remote :1796
    [      58 ms] &”target remote :1796\n”
    [      74 ms] ~”Remote debugging using :1796\n”
    [      81 ms] =thread-group-started,id=”i1″,pid=”42000″
    [      81 ms] =thread-created,id=”1″,group-id=”i1″
    [      88 ms] ~”Reset_Handler () at C:/Users/anders/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F3xxxx/StartupFiles/startup_stm32f303xe.c:886\n”
    [      89 ms] ~”886\t\tfor (pSource = &_sidata, pDest = &_sdata; pDest != &_edata; pSource++, pDest++)\n”
    [      89 ms] *stopped,frame={addr=”0x08000288″,func=”Reset_Handler”,args=[],file=”C:/Users/anders/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F3xxxx/StartupFiles/startup_stm32f303xe.c”,fullname=”C:\\Users\\anders\\AppData\\Local\\VisualGDB\\EmbeddedBSPs\\arm-eabi\\com.sysprogs.arm.stm32\\STM32F3xxxx\\StartupFiles\\startup_stm32f303xe.c”,line=”886″},thread-id=”1″,stopped-threads=”all”
    [      89 ms] ^done
    [      89 ms] info shared
    [      99 ms] &”info shared\n”
    [      99 ms] ~”No shared libraries loaded at this time.\n”
    [      99 ms] ^done
    [      99 ms] mon halt
    [      99 ms] &”mon halt\n”
    [     102 ms] ^done
    [     102 ms] mon reset init
    [     102 ms] &”mon reset init\n”
    [     103 ms] @”Unable to match requested speed 1000 kHz, using 950 kHz\n”
    [     104 ms] @”Unable to match requested speed 1000 kHz, using 950 kHz\n”
    [     104 ms] @”adapter speed: 950 kHz\n”
    [     188 ms] @”stm32f3x.cpu: target state: halted\n”
    [     189 ms] @”target halted due to debug-request, current mode: Thread \n”
    [     189 ms] @”xPSR: 0x01000000 pc: 0x08000288 msp: 0x20010000\n”
    [     208 ms] @”Unable to match requested speed 8000 kHz, using 4000 kHz\n”
    [     210 ms] @”Unable to match requested speed 8000 kHz, using 4000 kHz\n”
    [     210 ms] @”adapter speed: 4000 kHz\n”
    [     211 ms] ^done
    [     211 ms] load
    [     211 ms] &”load\n”
    [     362 ms] ~”Loading section .isr_vector, size 0x194 lma 0x8000000\n”
    [     363 ms] +download,{section=”.isr_vector”,section-size=”404″,total-size=”41622″}
    [     363 ms] +download,{section=”.isr_vector”,section-sent=”404″,section-size=”404″,total-sent=”404″,total-size=”41622″}
    [     363 ms] ~”Loading section .text, size 0x870 lma 0x8000194\n”
    [     363 ms] +download,{section=”.text”,section-size=”2160″,total-size=”41622″}
    [     364 ms] ~”Loading section .init_array, size 0x4 lma 0x8000a04\n”
    [     364 ms] +download,{section=”.init_array”,section-size=”4″,total-size=”41622″}
    [     364 ms] ~”Loading section .fini_array, size 0x4 lma 0x8000a08\n”
    [     364 ms] +download,{section=”.fini_array”,section-size=”4″,total-size=”41622″}
    [     365 ms] ~”Loading section .data, size 0x4 lma 0x8000a0c\n”
    [     365 ms] +download,{section=”.data”,section-size=”4″,total-size=”41622″}
    [     598 ms] ~”Start address 0x8000288, load size 2576\n”
    [     603 ms] ~”Transfer rate: 6 KB/sec, 515 bytes/write.\n”
    [     604 ms] ^done
    [     604 ms] -data-evaluate-expression “sizeof(void *)”
    [     604 ms] ^done,value=”4″
    [     604 ms] -data-evaluate-expression “sizeof(int)”
    [     604 ms] ^done,value=”4″
    [     604 ms] -data-evaluate-expression “sizeof(short)”
    [     604 ms] ^done,value=”2″
    [     604 ms] -data-evaluate-expression “sizeof(long)”
    [     605 ms] ^done,value=”4″
    [     605 ms] -data-evaluate-expression “sizeof(long long)”
    [     605 ms] ^done,value=”8″
    [     605 ms] -data-evaluate-expression “sizeof(char)”
    [     605 ms] ^done,value=”1″
    [     605 ms] -data-evaluate-expression “sizeof(wchar_t)”
    [     615 ms] ^error,msg=”No symbol \”wchar_t\” in current context.”
    [     615 ms] -data-evaluate-expression “sizeof(float)”
    [     615 ms] ^done,value=”4″
    [     615 ms] -data-evaluate-expression “sizeof(double)”
    [     616 ms] ^done,value=”8″
    [     616 ms] -data-evaluate-expression “sizeof(long double)”
    [     616 ms] ^done,value=”8″
    [     689 ms] -var-create – * “&(i)”
    [     696 ms] ^done,name=”var1″,numchild=”1″,value=”0x20000028 <i>”,type=”int *”,has_more=”0″
    [     696 ms] -var-create – * “i”
    [     698 ms] ^done,name=”var2″,numchild=”0″,value=”1616196872″,type=”int”,has_more=”0″
    [     698 ms] -var-create – * “&(j)”
    [     708 ms] ^done,name=”var3″,numchild=”1″,value=”0x20000024 <j>”,type=”int *”,has_more=”0″
    [     708 ms] -var-create – * “j”
    [     709 ms] ^done,name=”var4″,numchild=”0″,value=”1175835393″,type=”int”,has_more=”0″
    [     714 ms] info target
    [     720 ms] &”info target\n”
    [     720 ms] ~”Symbols from \”C:\\EmbeddedProject6\\VisualGDB\\Debug\\EmbeddedProject6\”.\n”
    [     720 ms] ~”Remote serial target in gdb-specific protocol:\n”
    [     720 ms] ~”Debugging a target over a serial line.\n”
    [     720 ms] ~”\tWhile running this, GDB does not access memory from…\n”
    [     721 ms] ~”Local exec file:\n”
    [     721 ms] ~”\t`C:\\EmbeddedProject6\\VisualGDB\\Debug\\EmbeddedProject6′, file type elf32-littlearm.\n”
    [     721 ms] ~”\tEntry point: 0x8000288\n”
    [     721 ms] ~”\t0x08000000 – 0x08000194 is .isr_vector\n”
    [     721 ms] ~”\t0x08000194 – 0x08000a04 is .text\n”
    [     721 ms] ~”\t0x08000a04 – 0x08000a08 is .init_array\n”
    [     722 ms] ~”\t0x08000a08 – 0x08000a0c is .fini_array\n”
    [     722 ms] ~”\t0x20000000 – 0x20000004 is .data\n”
    [     722 ms] ~”\t0x20000004 – 0x2000002c is .bss\n”
    [     722 ms] ^done
    [     777 ms] -data-evaluate-expression “&_estack”
    [     792 ms] ^done,value=”0x20010000″
    [     792 ms] -var-create – * “*((void **)0x2000fffc)”
    [     792 ms] ^done,name=”var5″,numchild=”0″,value=”0x80002b9 <Reset_Handler+48>”,type=”void *”,has_more=”0″
    [     792 ms] -var-assign “var5″ 0x5c0016b9
    [     808 ms] ^done,value=”0x5c0016b9”
    [     808 ms] -data-evaluate-expression “\*\(\(void\ \*\*\)0x2000fffc\)”
    [     808 ms] ^done,value=”0x5c0016b9″
    [     808 ms] -exec-continue
    [     824 ms] ^running
    [     824 ms] *running,thread-id=”all”
    [     824 ms] ~”Note: automatically using hardware breakpoints for read-only addresses.\n”
    [    1011 ms] =breakpoint-modified,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x080008d6″,func=”main”,file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″,thread-groups=[“i1″],times=”1″,original-location=”main”}
    [    1011 ms] ~”\n”
    [    1011 ms] ~”Breakpoint 1, main () at LEDBlink.c:18\n”
    [    1011 ms] ~”18\t\tHAL_Init();\n”
    [    1011 ms] *stopped,reason=”breakpoint-hit”,disp=”keep”,bkptno=”1″,frame={addr=”0x080008d6″,func=”main”,args=[],file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″},thread-id=”1″,stopped-threads=”all”
    [    1026 ms] -stack-list-frames –thread 1
    [    1042 ms] ^done,stack=[frame={level=”0″,addr=”0x080008d6″,func=”main”,file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″}]
    [    1042 ms] -stack-list-arguments –thread 1 1
    [    1042 ms] ^done,stack-args=[frame={level=”0″,args=[]}]
    [    1042 ms] -stack-list-frames –thread 1
    [    1058 ms] ^done,stack=[frame={level=”0″,addr=”0x080008d6″,func=”main”,file=”LEDBlink.c”,fullname=”C:\\EmbeddedProject6\\EmbeddedProject6\\LEDBlink.c”,line=”18″}]
    [    1058 ms] -stack-list-arguments –thread 1 1
    [    1073 ms] ^done,stack-args=[frame={level=”0″,args=[]}]
    [    9638 ms] -gdb-exit
    [    9653 ms] ^exit
    [    9653 ms] =thread-group-exited,id=”i1″

     

     

    • This reply was modified 7 years, 4 months ago by mico666.
    in reply to: Live Memory Engine prevents Live Variables to be shown #9808
    mico666
    Participant

    Hi,

    thank you for the quick response. The variables are in the global scope in a C project and  VisualGDB finds them everytime I start a debugging session, but when in the last debugging session a memory window with live memory was active and the session was stopped and started again the variables are not visible. When I then disable the Live Memory Engine in the memory window, stop the debugging session and start it again the variables become visible again.

Viewing 4 posts - 1 through 4 (of 4 total)