lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 12/20/2014 07:26 AM, Dong Feng wrote:

I sometimes debugging into Lua VM in Xcode. And vm_case totally breaks Xcode debugger's step-over. I have to modify vm_case to the plain "case ... : {}".

This is not a big issue to me. But I want to bring it up so in case anyone have a better solution than my manual modification. Or reveal if any similar situation on other debugger.

Best Regards,
Dong

I actually had just the same problem. In Lua 5.1 the VM was just a switch case, and in 5.2 the makros were introduced.
I wonder what the advantage of those makros are.
It also breaks the Eclipse CDT indexer, where you now you now have to go through the makro expansion to reach the symbols.

--
Thomas