ExtSol

Forum Replies Created

Viewing 6 posts - 16 through 21 (of 21 total)
  • Author
    Posts
  • in reply to: VisualGDB windows not working in VS2019 #25288
    ExtSol
    Participant

    I following the instructions:

    The issue is the some.

    Here is the screenshot: https://imgur.com/a/t0PQL2w

    Here is the source code: https://pastebin.com/shuhrcNK

    And i uploaded the log file.

    Attachments:
    You must be logged in to view attached files.
    in reply to: VisualGDB windows not working in VS2019 #25283
    ExtSol
    Participant

    Hi,

    Yes, worked for me too, but now, stop working, dont know why 🙁

    Versions:

    GCC: 7.2.0

    GDB: 8.0.1

    BSP: 2019.06

    OpenOCD: 20190625-0.10.0

    Visual Studio: 2017 (15.9.13) / 2019 (16.1.5)

    in reply to: VisualGDB windows not working in VS2019 #25279
    ExtSol
    Participant

    My solution for this issue:

    I download older version of Visual studio (downgrade to 2017) and VisualGDB-5.4r9-trial debugging feature working fine.

    in reply to: VisualGDB windows not working in VS2019 #25277
    ExtSol
    Participant

    but i reinstall VisualGDB-5.4r9-trial everyting is ok, with the starting post problem “When I switch the tab, the window just keep displaying the content of the former tab”

    after install the workaround, i get the same error

    • This reply was modified 4 years, 10 months ago by ExtSol.
    in reply to: VisualGDB windows not working in VS2019 #25276
    ExtSol
    Participant

    Now, when i start debugging i get a following error:

    Failed to start GDB session

    (gdb begin)
    — GDB Session —
    Thank you for your purchase. Your license details will be loaded and shown in the next 24-48 hours.
    -gdb-version
    =thread-group-added,id=”i1″
    ~”GNU gdb (GDB) 8.0.1\n”
    ~”Copyright (C) 2017 Free Software Foundation, Inc.\n”
    ~”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”
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    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-eabi\”.\nType \”show configuration\” for configuration details.”
    This GDB was configured as “–host=i686-w64-mingw32 –target=arm-eabi”.
    Type “show configuration” for configuration details.
    ~”\nFor bug reporting instructions, please see:\n”
    ~”<http://www.gnu.org/software/gdb/bugs/&gt;.\n”
    ~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/&gt;.\n”
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/&gt;.
    ~”For help, type \”help\”.\n”
    ~”Type \”apropos word\” to search for commands related to \”word\”…\n”
    ~”Reading symbols from D:\\Drive\\Project\\uc\\WIFIRemote_VisualGDB\\WIFIRemote\\VisualGDB\\Debug\\WIFIRemote…”
    ~”done.\n”
    ~”GNU gdb (GDB) 8.0.1\n”
    ~”Copyright (C) 2017 Free Software Foundation, Inc.\n”
    ~”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”
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt;
    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-eabi\”.\nType \”show configuration\” for configuration details.”
    This GDB was configured as “–host=i686-w64-mingw32 –target=arm-eabi”.
    Type “show configuration” for configuration details.
    ~”\nFor bug reporting instructions, please see:\n”
    ~”<http://www.gnu.org/software/gdb/bugs/&gt;.\n”
    ~”Find the GDB manual and other documentation resources online at:\n<http://www.gnu.org/software/gdb/documentation/&gt;.\n”
    Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/&gt;.
    ~”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 disassembly-flavor intel
    ^error,msg=”No symbol \”disassembly\” in current context.”
    -gdb-set print demangle off
    ^done
    set remotetimeout 60
    &”set remotetimeout 60\n”
    =cmd-param-changed,param=”remotetimeout”,value=”60″
    ^done
    target remote :50888
    &”target remote :50888\n”
    ~”Remote debugging using :50888\n”
    =thread-group-started,id=”i1″,pid=”42000″
    =thread-created,id=”1″,group-id=”i1″
    ~”Reset_Handler () at C:/Users/ExtSol/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F1xxxx/StartupFiles/startup_stm32f103xb.c:572\n”
    ~”572\t\tfor (pSource = &_sidata, pDest = &_sdata; pDest != &_edata; pSource++, pDest++)\n”
    *stopped,frame={addr=”0x08000460″,func=”Reset_Handler”,args=[],file=”C:/Users/ExtSol/AppData/Local/VisualGDB/EmbeddedBSPs/arm-eabi/com.sysprogs.arm.stm32/STM32F1xxxx/StartupFiles/startup_stm32f103xb.c”,fullname=”C:\\Users\\ExtSol\\AppData\\Local\\VisualGDB\\EmbeddedBSPs\\arm-eabi\\com.sysprogs.arm.stm32\\STM32F1xxxx\\StartupFiles\\startup_stm32f103xb.c”,line=”572″},thread-id=”1″,stopped-threads=”all”
    ^done
    info shared
    &”info shared\n”
    ~”No shared libraries loaded at this time.\n”
    ^done
    mon halt
    &”mon halt\n”
    ^done
    mon reset init
    &”mon reset init\n”
    @”target halted due to debug-request, current mode: Thread \n”
    @”xPSR: 0x01000000 pc: 0x08000460 msp: 0x20005000\n”
    ^done
    load
    &”load\n”
    ~”Loading section .isr_vector, size 0x10c lma 0x8000000\n”
    +download,{section=”.isr_vector”,section-size=”268″,total-size=”16199″}
    +download,{section=”.isr_vector”,section-sent=”268″,section-size=”268″,total-sent=”268″,total-size=”16199″}
    ~”Loading section .text, size 0x400 lma 0x800010c\n”
    +download,{section=”.text”,section-size=”1024″,total-size=”16199″}
    ~”Loading section .init_array, size 0x4 lma 0x800050c\n”
    +download,{section=”.init_array”,section-size=”4″,total-size=”16199″}
    ~”Loading section .fini_array, size 0x4 lma 0x8000510\n”
    +download,{section=”.fini_array”,section-size=”4″,total-size=”16199″}
    ~”Start address 0x8000460, load size 1300\n”
    ~”Transfer rate: 7 KB/sec, 325 bytes/write.\n”
    ^done
    -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)”
    ^error,msg=”No symbol \”wchar_t\” in current context.”
    -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″
    info target
    &”info target\n”
    ~”Symbols from \”D:\\Drive\\Project\\uc\\WIFIRemote_VisualGDB\\WIFIRemote\\VisualGDB\\Debug\\WIFIRemote\”.\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`D:\\Drive\\Project\\uc\\WIFIRemote_VisualGDB\\WIFIRemote\\VisualGDB\\Debug\\WIFIRemote’, file type elf32-littlearm.\n”
    ~”\tEntry point: 0x8000460\n”
    ~”\t0x08000000 – 0x0800010c is .isr_vector\n”
    ~”\t0x0800010c – 0x0800050c is .text\n”
    ~”\t0x0800050c – 0x08000510 is .init_array\n”
    ~”\t0x08000510 – 0x08000514 is .fini_array\n”
    ~”\t0x20000000 – 0x20000000 is .data\n”
    ~”\t0x20000000 – 0x2000001c is .bss\n”
    ^done
    -data-evaluate-expression “&_estack”
    ^done,value=”0x20005000″
    -var-create – * “*((void **)0x20004ffc)”
    ^done,name=”var1″,numchild=”0″,value=”0x8000491 <Reset_Handler+48>”,type=”void *”,has_more=”0″
    -var-assign “var1″ 0x64ab982e
    ^done,value=”0x64ab982e”
    -data-evaluate-expression “\*\(\(void\ \*\*\)0x20004ffc\)”
    ^done,value=”0x64ab982e”
    -break-insert -f main
    ^done,bkpt={number=”1″,type=”breakpoint”,disp=”keep”,enabled=”y”,addr=”0x080003a0″,func=”main”,file=”WIFIRemote.c”,fullname=”D:\\Drive\\Project\\uc\\WIFIRemote_VisualGDB\\WIFIRemote\\WIFIRemote\\WIFIRemote.c”,line=”7″,thread-groups=[“i1″],times=”0″,original-location=”main”}

    — openocd —
    C:\Users\ExtSol\AppData\Local\VisualGDB\EmbeddedDebugPackages\com.sysprogs.arm.openocd\bin\openocd.exe -c “gdb_port 50888” -c “telnet_port 50889” -f interface/stlink.cfg -f target/stm32f1x.cfg -c init -c “reset init” -c “echo VisualGDB_OpenOCD_Ready”
    Open On-Chip Debugger 0.10.0 (2019-06-25) [https://github.com/sysprogs/openocd]
    Licensed under GNU GPL v2
    For bug reports, read
    http://openocd.org/doc/doxygen/bugs.html
    Info : auto-selecting first available session transport “hla_swd”. To override use ‘transport select <transport>’.
    Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
    Info : clock speed 1000 kHz
    Info : STLINK V2J31S7 (API v2) VID:PID 0483:3748
    Info : Target voltage: 3.228024
    Info : stm32f1x.cpu: hardware has 6 breakpoints, 4 watchpoints
    Info : Listening on port 50888 for gdb connections
    target halted due to debug-request, current mode: Thread
    xPSR: 0x01000000 pc: 0x08000460 msp: 0x20005000
    VisualGDB_OpenOCD_Ready
    Info : Listening on port 6666 for tcl connections
    Info : Listening on port 50889 for telnet connections
    Info : accepting ‘gdb’ connection on tcp/50888
    Info : device id = 0x20036410
    Info : flash size = 64kbytes
    target halted due to debug-request, current mode: Thread
    xPSR: 0x01000000 pc: 0x08000460 msp: 0x20005000
    target halted due to debug-request, current mode: Thread
    xPSR: 0x01000000 pc: 0x08000460 msp: 0x20005000
    target halted due to debug-request, current mode: Thread
    xPSR: 0x01000000 pc: 0x08000460 msp: 0x20005000

     

    What can i do?

    in reply to: VisualGDB windows not working in VS2019 #25274
    ExtSol
    Participant

    It’s working. Thank you!

Viewing 6 posts - 16 through 21 (of 21 total)