Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Chad Smith
    @cs01
    @sherrellbc Thanks for the feedback and sorry for the messed up text. Unfortunately I don't have time to dedicate to this project (I made it in my spare time and have a full time job). This is a case of "PRs welcome" unfortunately :( . If you want to give it a shot let me know and I can help you navigate the source. Another option is to create an issue on the project tracker, and maybe someday I will get to it.
    sherrellbc
    @sherrellbc
    Just figured I would make it known. I'll take a look into it when I get a chance.
    Chad Smith
    @cs01
    @sherrellbc good stuff, thanks!
    db1989
    @db1989
    @EdjeK2_gitlab did you get solution for "file not found", I am also facing the same issue.
    @cs01 can you guide
    Chad Smith
    @cs01
    @db1989 are you able to see what path it's trying to access? If not, run gdbgui --debug and view the console when the error appears. Let me know what path you expect to see and what path you actually see and we can go from there.
    helenLang
    @helenLang
    excuse me. If somebody knew how to run the code whitch share in github?
    not in pip , I don't know the way for python to binary ...
    Chad Smith
    @cs01
    I’m not sure what you mean. Maybe this is what you are looking for though. https://github.com/cs01/gdbgui/tree/master/downloads
    helenLang
    @helenLang
    thks , i think the question is : i use 'pip install gdbgui' to install the gdbgui as a package/module for python , It seems like a runnable program, but when i input 'gdbgui xxxx.c' in terminal , it tell me that gdbgui is not a command .
    how to run it as a server?
    helenLang
    @helenLang
    I can't reach www.youtube.com because I locate in china mainland , the solution ,'Watch videos on the YouTube channel', is not work for me . maybe the main question for me is how to get a guidance
    =。=
    helenLang
    @helenLang
    oh , thks. in your website ,I found the command to build and run the gdbgui, I am stupid....
    Chad Smith
    @cs01
    Haha no you’re not. Glad you got it all working 😀👍
    Watergard
    @Watergard
    I've got a few questions:
    1) is there a way to run gdbgui on my main PC (using a pi for development)
    2) when I hit load binary pointing it to my code, it says no such file or directory exists, do I have to use the commandline at the bottom to load it?
    3) is there a way in the expression section to get the address of a label?
    Chad Smith
    @cs01

    Hi @Watergard let me see if I can help

    1) Yes. See https://www.gdbgui.com/guides/. You can either run gdbgui on the pi, or run gdbserver on the pi
    2) You don't have to use the command line at the bottom to load a binary. If the binary exists on the machine the gdbgui server is running on, it should work. (The binary is the compiled output of the code, not the source file)
    3) I am not sure what a label is, but if you are programming in C, you can do something like &myVariable and it should give you the address.

    Ghost
    @ghost~5cd3d5a0d73408ce4fbfcbd1
    hi. I am using gdbgui to replay a rr trace
    this is working fantastically in general.
    however, the process forks a child and I don't know how to switch to that.
    rr ps will show the child ID, of course.
    so I would like to do something like
    rr replay -f <pid>
    but using gdbgui
    any ideas?
    Ghost
    @ghost~5cd3d5a0d73408ce4fbfcbd1
    cool!
    helenLang
    @helenLang
    hello @cs01 ,the webpage is beautiful, this page is like a application , I'm learning your code now .
    I try to understand the working principle of python process ,and success , I knew how it work in backend .
    when I start to fontend , I have question . what the code " import { store } from "statorgfc";" means
    I seems like a react and redux but when I visit they're webpage , I seems not
    Chad Smith
    @cs01
    Cool, congrats on learning how the backend works 😀. It is a state management tool like redux, but with a more straightforward api and less boilerplate. https://github.com/cs01/stator
    helenLang
    @helenLang
    @cs01 hello , I come here again.... It seems there has a bug in the fontend, the behavior is that When I connect a remote gdbserver , some information will display in the webpage. then I left the webpage along , about 15min or longer ,the webpage reflesh by itself . then I visit the dashboard , I found that a new gdb process is open ,and the old one were still there and no other webpage bind to it
    Chad Smith
    @cs01
    @helenLang Yup that is a bug. Socket.io is a websocket library gdbgui uses and it automatically reconnects when the websocket connection is lost. When gdbgui receives a new connection, it automatically creates a new instance of gdb and connects it to the client. The fix is to tell socket.io not to automatically reconnect.
    lkrishnamoor
    @lkrishnamoor

    Hi guys.. Trying gdbgui for the first.. Had a question about attaching to process... So, the way I used to do this before was:
    Run my program: ~./myprogram
    Attach to process: gdbtui -p <pid>
    Set breakpoints "b <func>", followed by "c" to continue.
    Then, I trigger something on my running program, which hits the breakpoint in gdbtui...

    With gdbgui, I am not able to find "attach to process" option.

    When I try running like this: gdbgui "~/.myprogram", I am unable to connect to my program to do any triggers. How do should I do this?

    Chad Smith
    @cs01
    @lkrishnamoor check out this video https://youtu.be/WijcPxOang0
    Chad Smith
    @cs01
    Whoops wrong video. Try this one. https://youtu.be/aXHRJhsrIIs
    lkrishnamoor
    @lkrishnamoor
    @cs01 thanks a lot!
    Satyam Singh
    @Primalr3d
    Hello everyone..Can anyone tell me how to use pretty printing to print a vector in gdbgui on windows?
    Chad Smith
    @cs01

    @Primalr3d it should be turned on by default as long as you have python support built into your gdb binary. To test this, run

    gdb --interpreter=mi2

    Then in gdb, run

    -list-features

    to see if Python support is on.

    There is also a setting in the gdbgui settings menu to turn pretty printing on/off. Click the gear icon in to the top right.

    woowu
    @woowu
    Hi, gdbgui cannot open my source file, but I get no problem in gdb command line. The source file name was shown in gdbgui as absolute path, such as /home/myname/hello/src/main.c, but when I clicked the file, its codes not appear and the code window contained just an error message: cannot open /home/myname/hello/src/main.c. I check the symbols in my ELF, the source file path is actually relative ones: ../src/main.c. INFO: I was using gdbgui -g arm-none-eabi-gdb in ubuntu and the arm-none-eabi-gdb was setup to talk to my JLink gdb server which connected to an ARM cortex-m4 target.
    Dan782
    @Dan782
    Hello everybody, I've gotten gdbgui running but when I access it from my browser the page just says "Loading application, please wait" and that javascript and cookies must be enabled. I have both javascript and cookies enabled, but the page never changes.... How can I troubleshoot what's going wrong?
    Dan782
    @Dan782
    ... seems it can't load bootstrap
    Automatica-Mat
    @Automatica-Mat
    Hi is there anyone online?
    got a small question if anyones around
    having issues trying to pass the set sysroot to gdb while launching gdbgui
    Automatica-Mat
    @Automatica-Mat
    I found the answer in the chit chat above
    Chad Smith
    @cs01
    @Dan782 can you open your browser’s developer console and share any errors you see? Forcing a refresh of the page with no cache may also help.
    @woowu you might have to remap the paths. See
    See the remap sources section in gdbgui’s help text. https://www.gdbgui.com/api/
    Chad Smith
    @cs01
    @Dan782 are you using AUR? cs01/gdbgui#288