Home

Awesome

MOVE TO ZeroBraneStudio: http://notebook.kulchenko.com/zerobrane/torch-debugging-with-zerobrane-studio

You no longer need this fork to use torch in zerobranestudio. The above link shows full integration with Torch.

DEPRECEATED.

Project Description

ZBS-torch is a fork of ZeroBrane Studio to get it to work with Torch-7

For an overview of ZeroBrane Studio, see README-zbs

Installation

=======

$ luarocks install mobdebug
$ git clone https://github.com/soumith/zbs-torch.git
$ cd zbs-torch
$ ./zbstudio.sh

Usage

To debug a torch file,

$ ./zbstudio.sh
require('mobdebug').start()

For Example, this file

require 'image'
print('Wheres Waldo?')
a=image.rotate(image.lena(), 1.0)
image.display(a)
print('OK Bye')

becomes

require('mobdebug').start()
require 'image'
print('Wheres Waldo?')
a=image.rotate(image.lena(), 1.0)
image.display(a)
print('OK Bye')

Original Author

ZeroBrane Studio and MobDebug

ZeroBrane LLC: Paul Kulchenko (paul@kulchenko.com)

License

See LICENSE.