Slow debugging [message #1705141] |
Wed, 12 August 2015 07:49  |
Eclipse User |
|
|
|
Hello,
recently I installed Lua plugin for eclipse (LDT, formally known as Koneki). Now when I debug my code, it execute it really slow. I mean, some line of code that takes around 5-10 seconds when running without debug, takes around 2 minutes in debug.
any ideas?
Thanks!
|
|
|
|
|
Re: Slow debugging [message #1709252 is a reply to message #1705579] |
Fri, 25 September 2015 06:02  |
Eclipse User |
|
|
|
I think you did what I mean.
When I said external VM, I mean use another one than the JNLua Embedded one.
(The error you mention with embedded intepreter is normal/known, it could have some problems with C module and JNLua interpreter, it is mainly here to have a quick start with the IDE, but not for production)
About the slowness of the LDT debugger. It's a know issue, this is clearly not easy to fix. I have no hope this will be done soon.
Maybe you could try to use the attach to Lua Application mode :https://wiki.eclipse.org/LDT/User_Area/User_Guides/User_Guide_1.3#Attach_session
and do the "require("debugger")(idehost, ideport, idekey)" as near as possible of the code you want to debug. (this means all the time before the "require("debugger")(idehost, ideport, idekey)" was called will be done without the code instrumentation done by the debugger, so at "normal" speed).
Sry to be not able to do more 
Simon
|
|
|
Powered by
FUDForum. Page generated in 0.03715 seconds