#11 LuaEdit will crash when stepping through multiple for loops

Programming
closed-fixed
nobody
Debugger (5)
5
2012-07-18
2012-06-17
Anonymous
No

Put the following code in "SimpleDebug.lua" or any LUA file and try to step through the for loop.

for j = 0, 2, 1 do
for i = 0, 2, 1 do
print("This will crash LuaEdit when stepping through these loops.")
end
end

I was able to fix this issue by checking if the key was already added at the end of 'UpdateVariables' in LocalsDlg.cs.

Discussion

  • Comment has been marked as spam. 
    Undo

    You can see all pending comments posted by this user  here

    Anonymous - 2012-07-04

    Also, I noticed this bug only occurs when the "Locals" window is visible.

     
  • Jean-Francois Goulet

    • status: open --> open-fixed
     
  • Jean-Francois Goulet

    This should now be fixed in 3.0.10.

     
  • Jean-Francois Goulet

    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks