1
7
Fork
You've already forked debugger.lua
0

Add last line of string source for where command #85

Closed
nicholasdavies wants to merge 1 commit from master into master
pull from: master
merge into: slembcke:master
slembcke:no-extras
slembcke:dev
slembcke:patch-1
slembcke:media
slembcke:simple-term
slembcke:slembcke
slembcke:error-hook
slembcke:standalone
nicholasdavies commented 2024年10月15日 01:33:54 +02:00 (Migrated from github.com)
Copy link

When debugger.lua is operating on Lua code in a string, not in a file, the current method in where() using string.gmatch to split the string into lines leaves out the last line if it's not terminated with a newline. Added a line of code to include the final line.

When debugger.lua is operating on Lua code in a string, not in a file, the current method in `where()` using `string.gmatch` to split the string into lines leaves out the last line if it's not terminated with a newline. Added a line of code to include the final line.

Pull request closed

Please reopen this pull request to perform a merge.
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
slembcke/debugger.lua!85
Reference in a new issue
slembcke/debugger.lua
No description provided.
Delete branch "master"

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?