GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — deps: update node-inspect to v1.11.2 by hybrist · Pull Request #12363 · nodejs/node

Conversation

@hybrist

@hybrist hybrist commented Apr 12, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This updates the bundled node-inspect to 1.11.2, including nodejs/node-inspect#43 which was previously cherry-picked in #11441.

Highlights

  • Support for debugging a pid (node inspect -p <pid>)
  • Fixes to support latest master changes
  • Memory & CPU profiling added to help text

Compare: nodejs/node-inspect@v1.10.6...v1.11.2

Rendered Changelog

1.11.2

  • 42e0cd1 fix: look for generic hint text

1.11.1

  • Prefer --inspect-brk over --debug-brk - @ofrobots #43
    • 2c1ed27 fix: use --inspect-brk with Node 8+

1.11.0

  • doc: add profile and heap to help - @joshgav #39
    • f64c920 doc: add profile and heap to help
  • Update test suite to pass on latest nightly - @jkrems #36
    • 41148d7 test: Remove outdated test
    • 2c224c5 test: Accept any kind of "break"
    • 22bf349 test: Adjust for v8 5.7
    • 6ce8c16 test: Revert to old assertions
  • Verify custom port support - @jkrems #41
    • e3a489f test: custom port
  • Support for debugging a pid - @jkrems #37
    • 4179506 feat: Support for debugging a pid
Checklist
  • make -j4 test and make test-node-inspect pass
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

deps

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aqrln reacted with hooray emoji
All reactions
  • 🎉 1 reaction
Jan Krems
deps: update node-inspect to v1.11.1
a276ca3
@mscdex mscdex added the debugger label Apr 12, 2017
@hybrist

hybrist commented Apr 12, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Example for debugging a pid:

  1. Start the debug target and retrieve its pid:

    $ ./node -e 'setInterval(() => { debugger; console.log("ok"); }, 5000); console.log(process.pid)'
    <pid>
    ok
    
  2. Attach the CLI debugger to the process in a separate shell session:

    $ ./node inspect -p <pid>
    break in [eval]:1
    > 1 setInterval(() => { debugger; console.log("ok"); }, 5000); console.log(process.pid)
    
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hybrist hybrist mentioned this pull request Apr 12, 2017
Switch the CLI debugger to V8 inspector #11421
Closed
14 tasks done
aqrln
aqrln approved these changes Apr 12, 2017
View reviewed changes

@aqrln aqrln left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Oh, and this PR reminded me that I was interested in writing some tests and improving autocompletion of object properties, so thank you for this incidental reminder too 😄

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Trott
Trott approved these changes Apr 12, 2017
View reviewed changes

@Trott Trott left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rubber-stamp LGTM if all tests pass in CI

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@aqrln

aqrln commented Apr 12, 2017

Copy link
Copy Markdown
Contributor

CI: https://ci.nodejs.org/job/node-test-pull-request/7360/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hybrist

hybrist commented Apr 12, 2017

Copy link
Copy Markdown
Contributor Author

freebsd failure:

not ok 728 parallel/test-net-connect-local-error
  ---
  duration_ms: 0.193
  severity: fail
  stack: |-
    
    assert.js:82
      throw new assert.AssertionError({
      ^
    AssertionError: undefined !== 12346 in Error: connect EADDRINUSE 127.0.0.1:12347 - Local (127.0.0.1:12346)
        at Socket.onError (/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd11-x64/test/parallel/test-net-connect-local-error.js:13:10)
        at Socket.<anonymous> (/usr/home/iojs/build/workspace/node-test-commit-freebsd/nodes/freebsd11-x64/test/common.js:461:15)
        at emitOne (events.js:115:13)
        at Socket.emit (events.js:210:7)
        at emitErrorNT (net.js:1305:8)
        at _combinedTickCallback (internal/process/next_tick.js:80:11)
        at process._tickCallback (internal/process/next_tick.js:104:9)
  ...
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott

Trott commented Apr 12, 2017

Copy link
Copy Markdown
Member

@jkrems My current guess as to what happened here: parallel/test-net-connect-options-allowhalfopen started running slightly before parallel/test-net-connect-local-error (but finished slightly after as it took almost 200ms longer to run) and it's server.listen(0, ...) happened to get assigned port 12346, conflicting with the use of common.PORT in parallel/test-net-connect-local-error.

So, in brief, unrelated to this change (which shouldn't be a surprise, I suppose).

I'll re-run CI and I'll also see about perhaps moving all use of common.PORT into sequential or else adjusting the tests to use port 0. (I think someone--@mscdex or @cjihrig, maybe?--already went through and made as many tests as could be trivially made to use port 0 do so, but I'll look anyway, just in case I'm misremembering.)

CI: https://ci.nodejs.org/job/node-test-pull-request/7365/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@Trott Trott mentioned this pull request Apr 12, 2017
Remove common.PORT usage from parallel tests #12376
Closed
55 of 64 tasks
@Trott

Trott commented Apr 12, 2017

Copy link
Copy Markdown
Member

New CI is green, woot.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@mscdex

mscdex commented Apr 12, 2017 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

@Trott Yep, AFAIK the remaining tests still using common.PORT are cluster-related tests because of an outstanding issue with assigning random ports for cluster workers.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hybrist

hybrist commented Apr 12, 2017

Copy link
Copy Markdown
Contributor Author

@Trott Thanks for looking into this! I assumed it was something along those lines but didn't have time yet to take a look myself.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

cjihrig
cjihrig approved these changes Apr 14, 2017
View reviewed changes
@refack
refack force-pushed the master branch from 16073c0 to fbe946b Compare April 14, 2017 04:12
@joshgav

joshgav commented Apr 14, 2017

Copy link
Copy Markdown
Contributor

@jkrems can we pull in nodejs/node-inspect#44 too? Thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Jan Krems
deps: update node-inspect to v1.11.2
ba81a9d
@hybrist hybrist changed the title deps: update node-inspect to v1.11.1 deps: update node-inspect to v1.11.2 Apr 14, 2017
@hybrist

hybrist commented Apr 14, 2017

Copy link
Copy Markdown
Contributor Author

@joshgav Done!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax

addaleax commented Apr 14, 2017

Copy link
Copy Markdown
Member

New CI: https://ci.nodejs.org/job/node-test-commit/9117/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

jasnell
jasnell approved these changes Apr 14, 2017
View reviewed changes
@addaleax

addaleax commented Apr 14, 2017

Copy link
Copy Markdown
Member

Landed in 0217197

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax addaleax closed this Apr 14, 2017
addaleax pushed a commit that referenced this pull request Apr 14, 2017
Jan Krems @addaleax
deps: update node-inspect to v1.11.2
0217197
PR-URL: #12363
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Alexey Orlenko <[email protected]>
@hybrist
hybrist deleted the jk-node-inspect-1.11.1 branch April 15, 2017 00:48
@joshgav joshgav mentioned this pull request Apr 19, 2017
src: update --inspect hint text #11207
Closed
4 tasks done
@jasnell jasnell mentioned this pull request May 11, 2017
8.0.0 Release Proposal #12220
Closed
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
Auditing for 6.11.1 nodejs/Release#230
Closed
2 of 3 tasks
@gibfahn gibfahn added the lts-watch-v6.x label Jun 18, 2017
@gibfahn

gibfahn commented Jun 18, 2017

Copy link
Copy Markdown
Member

Should this be backported to v6.x-staging? If yes please follow the guide and raise a backport PR, if no let me know or add the dont-land-on label.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@gibfahn gibfahn added the backport-requested-v6.x label Jun 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@Trott Trott Trott approved these changes
@cjihrig cjihrig cjihrig approved these changes
+1 more reviewer
@aqrln aqrln aqrln approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

9 participants

@hybrist @aqrln @Trott @mscdex @joshgav @addaleax @gibfahn @jasnell @cjihrig
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.