Skip to content

In "node debug" in a certain reproducible scenario, typing "c" twice causes node to completley hang #4651

@shlomif

Description

@shlomif

Please see the reproducing test case here: https://github.com/shlomif/node-js-bug--debug-gets-stuck-on-two-c-commands namely doing:

shlomif@telaviv1:~/node-js-debug-gets-stuck-on-two-c$ /home/shlomif/apps/node-js/bin/node debug perlito5.js -I src5/lib -I MyDir/lib -I MyDir/lib/expand-solitaire-multi-card-moves 
< Debugger listening on port 5858
connecting to 127.0.0.1:5858 ... ok
break in perlito5.js:20
 18 // See http://www.perl.com/perl/misc/Artistic.html
 19 
>20 "use strict";
 21 var isNode = typeof require != "undefined";
 22 
debug> c
debug> c

Causes the debugger to hang without being able to interrupt using either ctrl+c or ctrl+z. I'm using node-v5.4.0 on Mageia Linux x86-64 v6. More info can be found in the link.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions