Select lua debugging tool and lua debugging tool
Recently I saw a lua debugging plug-in about vs. I installed vs2012 and tried it. I cannot help sending this article to summarize various debugging tools of lua.
Decoda
This is one of the most convenient tools for debugging lua5.1 on the earth today. It has powerful injection debugging and high performance. It supports various daily needs such as mounting processes, variable expansion, and breakpoints.
Early Decoda was a charging tool, so the quality was very high.
Decoda has now stopped development and is open-source. debugging lua5.2 will crash. source code can be used as a technical reference. Many dll injection and modification technologies are quite cool.
LuaStudio
You can debug lua5.1/5.2 with excellent debugging tools (because of the charges). The interface belongs to the vs2008 type. You can consider buying a few sets of debugging tools.
ZeroBrane Studio
Good support for lua5.1, 5.2 can be adjusted but occasionally crash, based on remote debugging, so the performance is slightly lower.
RemDebug
There is no IDE, and the command line debugger is pure. But because it is simple, you can refer to it to write your own built-in debugger.
Babe Lua
There is a reason to put this product at the end. I still remember the old saying: As soon as foreigners are open-source, we have developed our own products, this product must have come up with a vs plug-in After referring to the Decoda code. Although it is free of charge, the reference object behavior is worthy of approval. in the Chinese Blog, this product does not support processes (supported by Decoda), 64-bit debugging (supported by LuaStudio), and debugging for 30 ~ Once or twice for 50 times.
This product can be installed and used. It cannot be adjusted to 5.2. 5.1 is more convenient than Decoda. After all, vs supports floating display variables.
After talking about this, there is still no suitable Free debugging solution for lua5.2. If you really want to debug it, you can refer to the RemDebug principle and lua official debugging documentation, write a set of suitable remote debugging tools by calling c api. in fact, it is not much complicated, but it is better than not debugging.
How to debug lua files in windows
The decoda software can inject programs to debug LUA code, but the program must be a debug version. The debugging of SciTE may not work in many cases.
How does one use the Lua debugger?
Lua debugger? Give a URL first