feat: support implicit evaluation #46
No reviewers
Labels
No labels
bug
c API
duplicate
enhancement
help wanted
invalid
LuaJIT
PUC Lua
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
slembcke/debugger.lua!46
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "implicit-eval"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Evaluate statements and print expressions without using the 'e' or 'p' commands.
To avoid cognitive stress, one-letter variables require the 'p' command to view.
But assigning to one-letter variables does not require the 'e' command. :)
Also included:
@slembcke With this change, is the explicit
ecommand even necessary? :)Edit: nevermind, answered my own question. the explicit eval can be used to overwrite the previous command, which lets you repeat the evaluation by using an empty command immediately afterwards. Implicit evals are not repeatable, so you can do a quick evaluation and continue stepping with maximum efficiency!