VSLua:将Lua语言无缝结合到Visual Studio当中 调试lua ,高亮lua

来源:互联网 发布:百度云加速能提高seo吗 编辑:程序博客网 时间:2024/06/09 20:03

可以在vs上调试lua的插件,就是vslua。vslua不只能调试独立的lua脚本,而且还能调试luabind,luaplus等在C++中调用的lua函数。只需将vslua的编译器设置成带有lua导出符号的dll,就可以用这个dll进行调试lua了,相当方便。这样就可以抛弃以前的到处打印信息的做法了。真是相见恨晚啊。不过有一点,目前vslua只支持英文版的vs。

 

使用VSLua可以将Lua语言轻松地集成到Visual Studio开发环境当中,包括语法高亮显示,自动输入和强大的调试工具。

 

VSLua - Lua for Visual Studio

http://www.gamedev.net/community/forums/topic.asp?topic_id=414823

VSLua - Lua for Visual StudioPosted by: Rob Loach at September 15, 2006 1:17:11 PM
Trango Interactive announces the release ofVSLua, an integrated Microsoft Visual Studio editor and debugger for the Lua, the most popular scripting language for video games.

VSLua is the first and only product that seamlessly integrates Lua scripts into MS Visual Studio environment thus making powerful Visual Studio features available to game programmers using Lua. Currently, most Lua developers use print statements and guesswork to debug their scripts. VSLua changes all that by providing a modern and efficient solution for debugging Lua scripts. Lua developers can now use Visual Studio and its familiar commands to edit, debug and manage Lua script projects making VSLua the only practical Lua development solution in the market today.

Some of the salient features of VSLua are:
  • Use of Visual Studio editor for Lua scripts with syntax hi-lighting and intellisense
  • Full Visual Studio native debugging support with commands such as run time breakpoints, step in, step out, including stepping in and out of C/C++ game code
  • Watch and Stack window support for Lua variables and scripts.
  • Workspace, project and integrated Visual Source Safe support for Lua scripts.


VSLua provides a level of productivity that developers expect from modern programming languages but was not available for Lua, even though it is the most widely used scripting language in computer games”, said Ovais Ashraf, CEO of Trango Interactive. "VSLua will not only simplify Lua development but also allow developers to produce more robust game code by giving them ability to debug and fix complex bugs efficiently.

Beta releases of VSLua were enthusiastically received by the Lua community. According to Mark Manyen, co-author of "Game Development with Lua" and a beta user, "VSLua represents a breakthrough in the usability of Lua. Writing complex scripts in Lua without VSLua is now unthinkable." VSLua under went three month of extensive beta test and is now available as a commercial product.

VSLua supports all official versions of Lua and is available for Visual Studio 2002, 2003 and 2005. Custom versions of Lua are also supported. More information about features of VSLua can be found atTrango Interactive's website.
原创粉丝点击