question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'Ctrl+C' exit after can't generate traceevent file.

See original GitHub issue

Expected Behavior

i happen have traceevent file in .clinic folder.

Current Behavior

Ctrl+C after @nearform/doctor can’t trigger ‘SIGINT’ event execute move trace_event file to logging directory and analysing.

Steps to Reproduce (for bugs)

  1. node_modules/.bin/clinic doctor -- node bin/www
  2. typing Ctrl+C
  3. and project root folder generated node_trace.1.log
  4. and the program is over

Environment

  • Clinic.js version: v4.0.2
  • clinic doctor version: v4.0.3
  • Node.js version: v10.14.1
  • npm version: 6.4.1
  • Operating system and version: MacOS Mojave 10.14.4

Supplement

use kill -2 exit is ok.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
casperlecommented, Sep 3, 2019

Same here. clinic v4.1.0 node v11.7.0

After control+c I got only this: [ ] Received Ctrl+C, closing process…

The folder with processstat and systeminfo is generated but anything else.

0reactions
DylanCcommented, Mar 4, 2020

Tested as working in #164.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'Ctrl+C' exit after can't generate traceevent file. #152 - GitHub
i happen have traceevent file in .clinic folder. Current Behavior. Ctrl+C after @nearform/doctor can't trigger 'SIGINT' event execute move ...
Read more >
How to terminate loop gracefully when CTRL+C was pressed ...
I would simply use an exception handler, which would catch KeyboardInterrupt and store the exception. Then, at the moment an iteration is finished, ......
Read more >
[Qemu-devel] [PATCH v3 ] trace: Multi-backend tracing
Create a file with the events you want to trace: @@ -142,7 +142,7 @@ script. The trace backend is chosen at configure time...
Read more >
List of possible(?) values for the Oracle parameter EVENT
60 deadlock detected while waiting for resource Alias for 60 is deadlock 4063 Found in execcr.sql 10000 control file debug event, name 'control_file' 10001 control file...
Read more >
Chromium Docs - CPU Profiling Chrome
Run content_shell with callgrind to create a profile. A callgrind.<pid> file will be dumped when exiting the browser or stopped with CTRL-C:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found