Skip to main content



      Home
Home » Archived » Lua Development Tools » step over c function luaL_error
step over c function luaL_error [message #1621517] Tue, 17 February 2015 18:42 Go to next message
Eclipse UserFriend
We are using the LDT to debug some lua code embedded in a host C application. We use the debug.lua code to connect to the LDT debug session launched in Eclipse.

Everything works well except when the lua code calls a C function with pcall that rises an exception using luaL_error. It is like this:

local function A()
...
local ok, err, arg2 = pcall(B, args) -- B is a C function

a step over the pcall stops on a line after the call to function A, instead of stopping on the line just after the pcall.

Any idea of what am I doing wrong? Any solution?

Christian.
Re: step over c function luaL_error [message #1689449 is a reply to message #1621517] Mon, 23 March 2015 11:49 Go to previous message
Eclipse UserFriend
Hi
Did you find a solution for this problem ?
I just try it, and it works for me :/ ...
Could you give me a sample of code based on the standard VM which allow me to reproduce it.
Simon
(sry for the late response)
Previous Topic:Lua Attach Debug Issue
Next Topic:Help with Love2D EE (enums, function overloading)
Goto Forum:
  


Current Time: Fri Mar 21 00:52:12 EDT 2025

Powered by FUDForum. Page generated in 0.02970 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top