'Ctrl+C' exit after can't generate traceevent file.
See original GitHub issueExpected 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)
node_modules/.bin/clinic doctor -- node bin/www
- typing
Ctrl+C
- and project root folder generated
node_trace.1.log
- 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:
- Created 4 years ago
- Reactions:4
- Comments:6 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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.
Tested as working in #164.