Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Lua Development Tools » debugger hangs up and windows too
debugger hangs up and windows too [message #1058377] Mon, 13 May 2013 18:53 Go to next message
Milind Gupta is currently offline Milind GuptaFriend
Messages: 26
Registered: January 2012
Junior Member
Hi,
I am developing a wxlua application using LDT> I have been using this setup for more than a year (0.9) LDT and it worked perfectly fine. I used to start a debug configuration then on the command line launch the debugger like this:

> wlua -e "require('debugger')();" MyApp.lua


It always worked fine. Today when I did that it went into the debug session fine. I had a break point in an event handler. As soon as the event happens in the UI, everything freezes up. Even the windows taskbar and task manager. I have to hard reset the computer to get out of it. I has been consistent and have already done this 3 times.

I don't know what changed. I then downloaded the 1.0 RC for LDT and tried using just the Debug As Lua Application command. But it has problem loading the wx module (I am not sure why). When I try the above command line approach, it freezes up again.

Any help would be greatly appreciated.

Thanks
Re: debugger hangs up and windows too [message #1058909 is a reply to message #1058377] Wed, 15 May 2013 17:13 Go to previous messageGo to next message
Kevin KIN-FOO is currently offline Kevin KIN-FOOFriend
Messages: 58
Registered: January 2010
Member
Hi Milind,

Well, from what you are reporting, my first instinct will be to wonder about the way event are handled.
Correct me if I wrong, but you said the debugger was working until this event happened.
This leads me to thinks that maybe the event is handled in a blocking manner and debugging it stuck everything.
Can you tell me more about this event handling?

Regards
Re: debugger hangs up and windows too [message #1058976 is a reply to message #1058909] Thu, 16 May 2013 06:30 Go to previous messageGo to next message
Milind Gupta is currently offline Milind GuptaFriend
Messages: 26
Registered: January 2012
Junior Member
Thanks for the reply. My program is a wxlua application. On the GUI everything is event driven. I have just put a breakpoint right at the first line of the event function it reaches there as I see in the eclipse window but it just hangs.
This same functionality was working fine since I have debugged this program a lot of times before.
Re: debugger hangs up and windows too [message #1059709 is a reply to message #1058976] Tue, 21 May 2013 10:13 Go to previous message
Marc Aubry is currently offline Marc AubryFriend
Messages: 86
Registered: August 2012
Member
Hi Milind,

Which Windows version do you have ?

Maybe you can try to play with the debugger settings as somethings goes wrong between your application and the eclipse debugger.
Find related documentation here:
http://wiki.eclipse.org/Koneki/LDT/Developer_Area/User_Guides/User_Guide_1.0#Launching_DBGp_Client

To go deeper we will need your LDT log you can find under <workspace location>/.metadata/*.log and also the DBGP log you can activate in the main tab of your debug launch configuration, thanks you.
Previous Topic:Debugging with Corona SDK (Juno)
Next Topic:userdata types and detail formatter
Goto Forum:
  


Current Time: Fri Apr 26 09:56:37 GMT 2024

Powered by FUDForum. Page generated in 0.03485 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top