This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Debugger crashes when attempting autocomplete on yet-to-be-required object #8359
Labels
Comments
I can't reproduce. Can you give more specific steps, and possibly the contents of the object you were trying to inspect? |
Using script which has code as simple as: debugger;
console.log("hello nodejs"); Steps to reproduce:
NOTE: Autocomplete works until the '(' and crashes from the |
@sarathms Thanks. Exactly what I needed to reproduce. |
Also confirmed on the v0.12 branch. |
Catched the same error.
|
cjihrig
added a commit
to nodejs/node
that referenced
this issue
Dec 6, 2014
Currently, the debugger uses require('repl') to setup the repl. However, require.extensions is not available yet, causing a crash on tab completion of require('. This commit uses the module.requireRepl() method to bootstrap the repl. Fixes: nodejs/node-v0.x-archive#8359 PR-URL: #49 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Confirmed same v0.11.14 windows |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Scenario: While debugging attempted to use util.inspect(). But instead of requiring into a var and then calling the inspect method, tried performing a
require('util').inspect(obj)
. Crash with below stack trace.I'm on Ubuntu 12.04
The text was updated successfully, but these errors were encountered: