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

Support changing the active stack frame in CLI debugger (node inspect) #40910

Open
jkrems opened this issue Jul 4, 2017 · 3 comments
Open

Support changing the active stack frame in CLI debugger (node inspect) #40910

jkrems opened this issue Jul 4, 2017 · 3 comments
Labels
inspector Issues and PRs related to the V8 inspector protocol

Comments

@jkrems
Copy link
Contributor

jkrems commented Jul 4, 2017

See #14049

@jkrems
Copy link
Contributor Author

jkrems commented Jul 4, 2017

From the original thread:

There's no official/documented way of doing it right now. Some things that work but definitely need some cleanup and an official interface:

debug> bt[2].list() // list source context for frame at index 2
debug> bt[2].loadScopes() // show the scope chain w/ values for the frame nodejs/node-inspect#2

Things that do not exist in any form yet: Eval on a specific stack frame or changing the selectedFrame.

@TimothyGu
Copy link
Member

Does the original node debug support changing stack frames? If so we should implement it in a way that's close to it.

@jkrems
Copy link
Contributor Author

jkrems commented Jul 4, 2017

Afaict the previous debugger didn't support switching frames either (currentFrame couldn't be modified). So the interface is pretty open.

@Trott Trott changed the title Support changing the active stack frame Support changing the active stack frame in CLI debugger (node inspect) Nov 21, 2021
@Trott Trott transferred this issue from nodejs/node-inspect Nov 21, 2021
@Mesteery Mesteery added the inspector Issues and PRs related to the V8 inspector protocol label Nov 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inspector Issues and PRs related to the V8 inspector protocol
Projects
None yet
Development

No branches or pull requests

3 participants