Re: [Iup-users] Debugger couldn't locate the lua source code for iup.

2018-08-21 Thread Antonio Scuri
the debugger, it is very much needed for this rule. Lua does not > provide other ways to get source code information, which is the only clue > that can be traced back to the source code. > > > > -- actboy168 > > > > [image: cid:image002.png@01D420F6.152C3790] > &

Re: [Iup-users] Debugger couldn't locate the lua source code for iup.

2018-08-20 Thread actboy168
s the only clue that can be traced back to the source code.   -- actboy168   发件人: Antonio Scuri 发送时间: Friday, July 20, 2018 9:23:00 PM 收件人: IUP discussion list. 主题: Re: [Iup-users] Debugger couldn't locate the lua source code for iup.     Hi,     Those prefix are added internally by the

Re: [Iup-users] Debugger couldn't locate the lua source code for iup.

2018-07-20 Thread Antonio Scuri
Hi, Those prefix are added internally by the Lua interpreter. iuplua_dostring/iuplua_dobuffer simply call luaL_loadbuffer. If I add that prefix it will not find the file or incorrectly interpret the string. The problem in debugger I already reported to the Lua team (in the Lua list), but I

[Iup-users] Debugger couldn't locate the lua source code for iup.

2018-07-19 Thread actboy168
The debugger uses debug.info(1, 'S').source to determine the mapping between function and source code.Please see lua's docs https://www.lua.org/manual/5.3/manual.html#lua_Debug > source: the name of the chunk that created the function. If source starts > with a '@', it means that the function w