Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Lua Development Tools » Torch - Lua Debugger Error (variable value inspection)(ERROR: cannot resume running coroutine)
Torch - Lua Debugger Error (variable value inspection) [message #1727673] Fri, 25 March 2016 00:30
Nadith Pathirage is currently offline Nadith PathirageFriend
Messages: 2
Registered: April 2011
Junior Member
I have written a small piece of code after configuring the debugger to run with torch scripts. (interpreter qlua or luajit).

local function main()
  local torch = require 'torch'
  t = torch.Tensor(10, 1):fill(4)
  print (t)
end
main()


When I put a breakpoint at "t = torch.Tensor(10, 1):fill(4)" and inspect the local variable value of 'torch' it gives me the following error.

Debugger v1.3.1
Debugger: Trying to connect to 127.0.0.1:10002 ... 
Debugger: Connection succeed.
DEBUGGER	ERROR	Error while debug loop: .../org.eclipse.osgi/506/0/.cp/script/external/debugger.lua:3192: cannot resume running coroutine


Do you guys have any idea on what's going on ?

[Updated on: Fri, 25 March 2016 00:32]

Report message to a moderator

Previous Topic:ldoc documentation in LDT 1.3.1
Next Topic:How to create html documentation pages from the luadoc ltd documentation style?
Goto Forum:
  


Current Time: Fri Apr 26 15:50:46 GMT 2024

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

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

Back to the top