Closed sonyps5201314 closed 3 years ago
@sonyps5201314, why do you think the second one is better than the first one?
what=="main"
if it is the main part of a chunk, so it's outside of any function and can't be anything other than the top of the stack, no?
@sonyps5201314, why do you think the second one is better than the first one?
what=="main"
if it is the main part of a chunk, so it's outside of any function and can't be anything other than the top of the stack, no?
The main part of a chunk just means that it's the outermost code of a new file, and if skip it, we can`t find which file causes the current file to be loaded, maybe this information is important for user, and no these, the user may think it is the top-level code. and no other Lua debugger does this filtering, it may cause confusion among users
Let me think about this.
the next patch file can fix it.
before use it
after use it