Skip to content

internal error in node debugger while debuging node/mysql code #21576

Description

@coderhard

Node debugger terminated with an error as I was stepping through, better yet, after, my program terminated because of an error in my code. My code was just sample code contained in

  1. https://www.w3schools.com/nodejs/nodejs_mysql_create_table.asp

Precisely:
I was just holding down the "enter" key to get the debugger to hurry up and get to the part where my mysql-based node app throws an error.
I was holding the enter key for several seconds after by program through the error.
It seemed to have returned back the "debug>" prompt, but not returned control to stdin/tty.
It became unresponsive until printing ten "Program terminated" error lines
Then the node debugger finally issued the final error message about the debugger

.There was an internal error in Node's debugger. Please report this bug.
connect ECONNREFUSED
Error: connect ECONNREFUSED
at errnoException (net.js:901:11)
at Object.afterConnect [as oncomplete] (net.js:892:19)

node_debugger_output.txt

Activity

  1. changed the title [-]internal error in node debugger while debugger basic[/-] [+]internal error in node debugger while debuging node/mysql code[/+] on Jun 28, 2018
  2. aduh95 commented on Jun 28, 2018

    @aduh95
    Contributor

    The version of Node you are using is four years old, and won't be updated anymore (FYI, Node 0.10.x has reached end-of-life on 2016-10-31).

    You should report issue that affect up-to-date versions of Node. You can have a look on the LTS Release Schedule to see what versions are supported by the Node community, and on the CHANGELOG table to have the list of the last version released for each semver-major (at the time of writing, supported versions are v6.14.3 (maintenance only), v8.11.3, v9.11.2 (maintenance only) and v10.5.0). Also you can use the nightly builds or build from the master branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidIssues and PRs that are invalid.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions