Comments (3)
This is not a dumb question.
What you can do is stop at a breakpoint and run the command signal 2
(SIGINT
) in the gdb command line widget, which is equivalent to CTRL+C in the terminal. It might work when running in realtime, but I haven't tested it.
There is also the command -exec-interrupt
(ftp://ftp.gnu.org/pub/old-gnu/Manuals/gdb/html_chapter/gdb_22.html) but it doesn't seem to work.
Let me know if either of these work for you.
from gdbgui.
I'm interested in this functionality too.
With the current version, as long as no breakpoints are hit, you lose the ability to control gdb. If no future breakpoints are hit you're left without control.
Having a simple pause button at the top of the screen would go a long way in improving matters.
I saw your work in the rewrite-to-react branch, but when I checked out the code I could not immediately find an obvious button in the gui. What's the status of your work?
from gdbgui.
@duststorm the rewrite-to-react branch
(commit e3e1d9a) has more features and no known regressions from the latest master, so it's safe to use.
On that branch, at the top right of the side pane there are some new buttons:
If you click send to inferior
, it'll send the selected signal to the inferior process, which usually causes it to exit entirely. After doing a little searching, it looks like pausing a running program might be possible by sending SIGINT
to gdb itself. I will look into that more and add a button to do that as well if it makes sense.
Let me know if the branch helps at all. I plan to eventually merge it into master and release, but wanted to get some testing in on it before that happens, so any feedback is appreciated.
from gdbgui.
Related Issues (20)
- GDBGUI _ when gdb is missing.
- Mixed SOURCE/ASM mode for stepping through code. HOT 1
- --remap-sources questions HOT 1
- Symbols for the gio command
- gdbgui PWD HOT 1
- not work UBUNTU 23.04 HOT 2
- Feature Req:Modify Code in GDBGUI
- Source file decoding errors
- server() got an unexpected keyword argument 'ssl_context' HOT 1
- Add docker build env support?
- AttributeError: module 'ssl' has no attribute 'wrap_socket' HOT 3
- When debugging in Windows remotely, the directory tree of the interface should be a remote or local directory
- Showcased the structure of the remote file system, but said that the files could not be found and were all present
- Package dependencies are too strict HOT 1
- cannot find source code “ file not found: /home/Administrator/hello.c”
- Side panel scroll position resets on step
- Add breakpoint in disassembly by clicking
- Improve design for the visually impaired
- Hardcoded 10 seconds gdb timeout is too low for some applications HOT 1
- How to show deferenced pointer value ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdbgui.