lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Yes. It is easy to find an incorrect line in the debugger.

 

-- actboy168



Dibyendu Majumdar <mobile@majumdar.org.uk> 于2018年7月11日周三 上午4:52写道:
On 10 July 2018 at 18:34, Roberto Ierusalimschy <roberto@inf.puc-rio.br> wrote:
>> local b = true
>>
>> if not b then
>>     return
>> end
>>
>> error 'test'
>>
>>
>> The line number in the error message is 5, but it should be 7.
>
> How did you find this bug?
>

I suspect because of:

https://marketplace.visualstudio.com/items?itemName=actboy168.lua-debug