Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v14.x backport] deps,debugger: move node-inspect into core #38858

Closed
wants to merge 12 commits into from

Commits on Jul 15, 2021

  1. debugger: move node-inspect to internal library

    node-inspect developers have agreed to move node-inspect into core
    rather than vendor it as a dependency.
    
    Refs: nodejs#36481
    
    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    eff3c97 View commit details
    Browse the repository at this point in the history
  2. tools: remove node-inspect from license

    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    d286b75 View commit details
    Browse the repository at this point in the history
  3. debugger: remove unused code

    Remove code that was for when `node-inspect` was called as a standalone
    process.
    
    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    7ee45c0 View commit details
    Browse the repository at this point in the history
  4. debugger: fix inspect restart on Windows

    Fixes: nodejs#37224
    
    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    802e4c1 View commit details
    Browse the repository at this point in the history
  5. debugger: accommodate line chunking in Windows

    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    8a6448d View commit details
    Browse the repository at this point in the history
  6. debugger: allow longer time to connect

    Make five attempts with a timeout of 1 second each rather than 10
    attempts with a timeout of 500ms each. This is to allow for
    slower-connecting devices like Raspberry Pi.
    
    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    8ec940d View commit details
    Browse the repository at this point in the history
  7. test: fix test-inspector-cli-address

    The test was assuming that the entire string being sought would arrive
    in a single data chunk, but it can be split across multiple chunks.
    
    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    e5ee810 View commit details
    Browse the repository at this point in the history
  8. test,debugger: migrate node-inspect tests to core

    Migrate the node-inspect tests to core (where node-inspect code now
    lives) and remove node-inspect from deps directory.
    
    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    767dc25 View commit details
    Browse the repository at this point in the history
  9. debugger: replace internal use of deprecated API

    Change process.binding() use to internalBinding().
    
    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    9d5ab8f View commit details
    Browse the repository at this point in the history
  10. test: fix comment typo

    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    5357c18 View commit details
    Browse the repository at this point in the history
  11. debugger: fix race condition/deadlock on initialization

    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    d2263ef View commit details
    Browse the repository at this point in the history
  12. test: extend timeout on debugger tests for slower machines

    PR-URL: nodejs#38161
    Backport-PR-URL: nodejs#38858
    Refs: nodejs#36481
    Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
    Reviewed-By: Jan Krems <jan.krems@gmail.com>
    Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
    Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
    Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
    Reviewed-By: Michaël Zasso <targos@protonmail.com>
    Trott committed Jul 15, 2021
    Configuration menu
    Copy the full SHA
    22cbfa8 View commit details
    Browse the repository at this point in the history