Skip to main content



      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] Thu, 24 March 2016 20:30
Eclipse UserFriend
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: Thu, 24 March 2016 20:32] by 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: Wed Mar 19 19:08:48 EDT 2025

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

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

Back to the top