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

debug console not interactive #1165

Closed
pswenson opened this issue Aug 14, 2019 · 3 comments
Closed

debug console not interactive #1165

pswenson opened this issue Aug 14, 2019 · 3 comments
Labels
feature-request New feature or enhancement. May require GitHub community feedback.

Comments

@pswenson
Copy link

pswenson commented Aug 14, 2019

Describe the bug
debug console does not allow interaction at breakpoint

To reproduce

  1. set a breakpoint in a SAM project
  2. launch debug config
  3. when breakpoint is click >console

Expected behavior
the console should display an interactive prompt with the context of the breakpoint (all variables should be available)

see how interactive console should work here: https://www.jetbrains.com/help/pycharm/using-debug-console.html#actions

Screenshots
image

Your Environment

  • OS: macos
  • JetBrains' Product: pycharm
  • JetBrains' Product Version: 2019.2
  • Toolkit Version:1.16.210
  • SAM CLI Version: 0.19.0
  • JVM/Python Version: 3.7
@pswenson pswenson changed the title debug console not functional debug console not interative Aug 14, 2019
@abrooksv
Copy link
Contributor

Oh, I see what you are talking about. They changed the icon.
Screen Shot 2019-08-14 at 1 53 30 PM

We do not support that today. You can emulate it today using the Evaluate Expression feature in the debugger tab though.
Screen Shot 2019-08-14 at 1 55 36 PM

@abrooksv abrooksv added the feature-request New feature or enhancement. May require GitHub community feedback. label Aug 14, 2019
@pswenson pswenson changed the title debug console not interative debug console not interactive Aug 20, 2019
@pswenson
Copy link
Author

Yep, expression editor is useful - but not as useful as the full console. Curious, is there a technical hurdle to supporting this or just hasn't been done?

@abrooksv
Copy link
Contributor

abrooksv commented Aug 20, 2019

I looked through the code, it isn't trivial to implement from my first glance. The entire debug console for python differs from the current console window and there is not a straight forward way to create it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or enhancement. May require GitHub community feedback.
Projects
None yet
Development

No branches or pull requests

2 participants