Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Lua Development Tools » step over c function luaL_error
step over c function luaL_error [message #1621517] Tue, 17 February 2015 23:42 Go to next message
Christian Tenllado is currently offline Christian TenlladoFriend
Messages: 1
Registered: February 2015
Junior Member
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 15:49 Go to previous message
Simon Bernard is currently offline Simon BernardFriend
Messages: 337
Registered: July 2009
Senior Member
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: Thu Sep 20 12:20:56 GMT 2018

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

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

Back to the top