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;








-1















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.










share|improve this question

















  • 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















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.










share|improve this question

















  • 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








-1








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.










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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













  • 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











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
);



);













draft saved

draft discarded


















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















draft saved

draft discarded
















































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.




draft saved


draft discarded














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





















































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

Popular posts from this blog

Frič See also Navigation menuinternal link

Identify plant with long narrow paired leaves and reddish stems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?What is this plant with long sharp leaves? Is it a weed?What is this 3ft high, stalky plant, with mid sized narrow leaves?What is this young shrub with opposite ovate, crenate leaves and reddish stems?What is this plant with large broad serrated leaves?Identify this upright branching weed with long leaves and reddish stemsPlease help me identify this bulbous plant with long, broad leaves and white flowersWhat is this small annual with narrow gray/green leaves and rust colored daisy-type flowers?What is this chilli plant?Does anyone know what type of chilli plant this is?Help identify this plant

fontconfig warning: “/etc/fonts/fonts.conf”, line 100: unknown “element blank” The 2019 Stack Overflow Developer Survey Results Are In“tar: unrecognized option --warning” during 'apt-get install'How to fix Fontconfig errorHow do I figure out which font file is chosen for a system generic font alias?Why are some apt-get-installed fonts being ignored by fc-list, xfontsel, etc?Reload settings in /etc/fonts/conf.dTaking 30 seconds longer to boot after upgrade from jessie to stretchHow to match multiple font names with a single <match> element?Adding a custom font to fontconfigRemoving fonts from fontconfig <match> resultsBroken fonts after upgrading Firefox ESR to latest Firefox