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

debugger source pane should understand local variables for ad-hoc actions #195

Open
ericwinger opened this issue Jan 29, 2025 · 1 comment
Assignees
Labels
P3-Problem Bug that should be fixed, but not critical

Comments

@ericwinger
Copy link
Member

  • Execute this code which raises a debugger.
|array  abc | 
abc := 123.
array := Array with: abc. 
array halt. 
^array
  • Select abc := 123. statement in debugger source pane.
  • Inspect, print, do, or debut it.
  • Get undefined symbol in text before abc

Debugger should recognize abc as a temporary variable.

@ericwinger ericwinger added bug P3-Problem Bug that should be fixed, but not critical labels Jan 29, 2025
@ericwinger ericwinger self-assigned this Jan 29, 2025
@tukanos
Copy link

tukanos commented Jan 30, 2025

You beat me to it. I wanted nearly reported a similar situation.

I wanted to inspect a value of aVisitor (I know the value is in the top right corner):

acceptVisitor: aVisitor

	^aVisitor visitClassModification: self

The only thing I ended up with was undefined symbol and changed method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3-Problem Bug that should be fixed, but not critical
Projects
None yet
Development

No branches or pull requests

3 participants