fix: ignore any frame that has no file #41

Merged
aleclarson merged 1 commit from no-file into master 2018-04-26 19:55:45 +02:00
aleclarson commented 2018-04-26 19:53:19 +02:00 (Migrated from github.com)

The REPL should never trigger for C frames and pre-compiled Lua bytecode.

The REPL should never trigger for C frames and pre-compiled Lua bytecode.
aleclarson commented 2018-04-26 19:54:42 +02:00 (Migrated from github.com)

It might be worth keeping the info.linedefined >= 0 check to speed up C frame detection, but the performance improvement is likely unnoticeable.

It might be worth keeping the `info.linedefined >= 0` check to speed up C frame detection, but the performance improvement is likely unnoticeable.
slembcke commented 2018-04-27 17:41:46 +02:00 (Migrated from github.com)

Yeah, the hooks really only run when stepping, so probably not a huge deal.

Yeah, the hooks really only run when stepping, so probably not a huge deal.
Sign in to join this conversation.
No reviewers
No milestone
No project
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!41
No description provided.