how to (externally) continue running an app being debugged? is it possible at all? The 2019 Stack Overflow Developer Survey Results Are InLinux, Debugger program developmentWhat's the difference between Ctrl-Z and kill -STOP?USB not working : USB Ports Hijacked/Reserved Permanently by VirtualBoxWhat is the purpose of delayed suspend (Ctrl-Y) in Bash?Interrupt a slow gdb command?Why is kill -HUP used in logrotate in RHEL? Is it necessary in all cases?Choices for dealing with a signal?Why do we need to send SIGHUP to a newly orphaned process group containing a stopped process?Why doesn't ctrl+u send SIGKILL? stty says it shouldhow signals are handled in linux kernel
Is bread bad for ducks?
What is this 4-propeller plane?
What is the steepest angle that a canal can be traversable without locks?
Lethal sonic weapons
Patience, young "Padovan"
What tool would a Roman-age civilization have to grind silver and other metals into dust?
How to create dashed lines/arrows in Illustrator
Geography at the pixel level
Protecting Dualbooting Windows from dangerous code (like rm -rf)
Could JWST stay at L2 "forever"?
How are circuits which use complex ICs normally simulated?
Output the Arecibo Message
Can the Protection from Evil and Good spell be used on the caster?
What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?
How can I fix this gap between bookcases I made?
Is "plugging out" electronic devices an American expression?
Inversion Puzzle
In microwave frequencies, do you use a circulator when you need a (near) perfect diode?
Where to refill my bottle in India?
"To split hairs" vs "To be pedantic"
What are the motivations for publishing new editions of an existing textbook, beyond new discoveries in a field?
A poker game description that does not feel gimmicky
Why do UK politicians seemingly ignore opinion polls on Brexit?
How to make payment on the internet without leaving a money trail?
how to (externally) continue running an app being debugged? is it possible at all?
The 2019 Stack Overflow Developer Survey Results Are InLinux, Debugger program developmentWhat's the difference between Ctrl-Z and kill -STOP?USB not working : USB Ports Hijacked/Reserved Permanently by VirtualBoxWhat is the purpose of delayed suspend (Ctrl-Y) in Bash?Interrupt a slow gdb command?Why is kill -HUP used in logrotate in RHEL? Is it necessary in all cases?Choices for dealing with a signal?Why do we need to send SIGHUP to a newly orphaned process group containing a stopped process?Why doesn't ctrl+u send SIGKILL? stty says it shouldhow signals are handled in linux kernel
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am running an app thru nemiver
that runs gdb
and finally the app.
I need to automatically (in a delayed loop) read the files generated by that app, but for that I need to stop the app to prevent it writing while the files are being read.
If I run kill -SIGSTOP ...
on the app, nemiver will show a dialog that in this specific case I need it to not be shown.
I need nemiver and gdb to ignore the external SIGSTOP on the app.
So, I try to SIGSTOP first nemiver, then gdb, then the app, but when trying to make the app continue running (and after that continue also gdb and nemiver), the app will ignore kill -SIGCONT ...
and remain stopped.
The app status (on htop
) is "t" and not "T".
Unfortunately I dont even know if that trick will let nemiver ignore the external SIGSTOP at all.
signals debugging
add a comment |
I am running an app thru nemiver
that runs gdb
and finally the app.
I need to automatically (in a delayed loop) read the files generated by that app, but for that I need to stop the app to prevent it writing while the files are being read.
If I run kill -SIGSTOP ...
on the app, nemiver will show a dialog that in this specific case I need it to not be shown.
I need nemiver and gdb to ignore the external SIGSTOP on the app.
So, I try to SIGSTOP first nemiver, then gdb, then the app, but when trying to make the app continue running (and after that continue also gdb and nemiver), the app will ignore kill -SIGCONT ...
and remain stopped.
The app status (on htop
) is "t" and not "T".
Unfortunately I dont even know if that trick will let nemiver ignore the external SIGSTOP at all.
signals debugging
1
I don't have nemiver, but assuming it's implemented as a front end to gdb, try giving this to gdb:handle SIGSTOP SIGCONT pass nostop noprint
. It should let you stop and start your process without gdb printing anything.
– Mark Plotnick
yesterday
add a comment |
I am running an app thru nemiver
that runs gdb
and finally the app.
I need to automatically (in a delayed loop) read the files generated by that app, but for that I need to stop the app to prevent it writing while the files are being read.
If I run kill -SIGSTOP ...
on the app, nemiver will show a dialog that in this specific case I need it to not be shown.
I need nemiver and gdb to ignore the external SIGSTOP on the app.
So, I try to SIGSTOP first nemiver, then gdb, then the app, but when trying to make the app continue running (and after that continue also gdb and nemiver), the app will ignore kill -SIGCONT ...
and remain stopped.
The app status (on htop
) is "t" and not "T".
Unfortunately I dont even know if that trick will let nemiver ignore the external SIGSTOP at all.
signals debugging
I am running an app thru nemiver
that runs gdb
and finally the app.
I need to automatically (in a delayed loop) read the files generated by that app, but for that I need to stop the app to prevent it writing while the files are being read.
If I run kill -SIGSTOP ...
on the app, nemiver will show a dialog that in this specific case I need it to not be shown.
I need nemiver and gdb to ignore the external SIGSTOP on the app.
So, I try to SIGSTOP first nemiver, then gdb, then the app, but when trying to make the app continue running (and after that continue also gdb and nemiver), the app will ignore kill -SIGCONT ...
and remain stopped.
The app status (on htop
) is "t" and not "T".
Unfortunately I dont even know if that trick will let nemiver ignore the external SIGSTOP at all.
signals debugging
signals debugging
asked 2 days ago
Aquarius PowerAquarius Power
1,80032139
1,80032139
1
I don't have nemiver, but assuming it's implemented as a front end to gdb, try giving this to gdb:handle SIGSTOP SIGCONT pass nostop noprint
. It should let you stop and start your process without gdb printing anything.
– Mark Plotnick
yesterday
add a comment |
1
I don't have nemiver, but assuming it's implemented as a front end to gdb, try giving this to gdb:handle SIGSTOP SIGCONT pass nostop noprint
. It should let you stop and start your process without gdb printing anything.
– Mark Plotnick
yesterday
1
1
I don't have nemiver, but assuming it's implemented as a front end to gdb, try giving this to gdb:
handle SIGSTOP SIGCONT pass nostop noprint
. It should let you stop and start your process without gdb printing anything.– Mark Plotnick
yesterday
I don't have nemiver, but assuming it's implemented as a front end to gdb, try giving this to gdb:
handle SIGSTOP SIGCONT pass nostop noprint
. It should let you stop and start your process without gdb printing anything.– Mark Plotnick
yesterday
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511101%2fhow-to-externally-continue-running-an-app-being-debugged-is-it-possible-at-al%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f511101%2fhow-to-externally-continue-running-an-app-being-debugged-is-it-possible-at-al%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
-debugging, signals
1
I don't have nemiver, but assuming it's implemented as a front end to gdb, try giving this to gdb:
handle SIGSTOP SIGCONT pass nostop noprint
. It should let you stop and start your process without gdb printing anything.– Mark Plotnick
yesterday