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.