Program arguments

With the release of cocos code IDE v1.0.2, one of the features you announced was the support for program arguments but I am having some problems getting it to work.

If I add one argument and then add a breakpoint to main.lua the arg variable is nil. The value that I inserted in the debug settings should be added to the global arg variable right? Am I missing something?

Program arguments only for native code, you can got the arguments in:

  1. _tWinMain() function in frameworks/runtime-src/proj.win32/main.cpp or,
  2. main() function in frameworks/runtime-src/proj.ios_mac/mac/main.mm

Thank you!