Skip to content

Issue running make from ugdb #5

@ericonr

Description

@ericonr

Hey there, I loved this project! It's a great interface for gdb, specially the expression evaluation part!

However, seeing as you are probably a Rust developer, I don't believe you would have encountered this issue. I am currently using ugdb for debugging a C program, which is compiled using a Makefile. When using normal gdb, I tend to run the make command whenever I make changes to the source code. The output from make should appear inside the "interactive" part of ugdb, if it had the same behavior. Instead, the TUI is gone for a while, make runs on the normal terminal screen (with weird formatting, btw), and then it returns to the TUI. That by itself isn't much of a problem. What is, however, is that the source code displayed on ugdb isn't updated to the latest version, so if I make any changes besides changing what's already on a line, I can't be sure the breakpoints will be on the right place or anything. Because of that, if I make any changes I close ugdb and then open it again.

I can post videos showing the expected behavior on gdb and what's happening on ugdb, but my internet connection is not cooperating right now!

I want to learn Rust at some point, so I could try to make the necessary changes to the program later on, if you feel this is not a feature you want to work on. If that ends up being the case, this issue will serve as a reminder for me :D

PS: I think that the make function is pretty useful in gdb. It could be interesting to implement an option to run a cargo build command from inside ugdb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions