Hi Paul , Thank you for the information ! On the Gnublin board : Copied socket.lua and mobdebug.lua to root. Run Lua ... root@gnublin:~# lua Lua 5.1.4 Copyright (C) 1994-2008 Lua.org, PUC-Rio then root@gnublin:~# lua socket.lua lua: socket.lua:13: module 'socket.core' not found: no field package.preload['socket.core'] no file './socket/core.lua' no file '/usr/local/share/lua/5.1/socket/core.lua' no file '/usr/local/share/lua/5.1/socket/core/init.lua' no file '/usr/local/lib/lua/5.1/socket/core.lua' no file '/usr/local/lib/lua/5.1/socket/core/init.lua' no file './socket/core.so' no file '/usr/local/lib/lua/5.1/socket/core.so' no file '/usr/local/lib/lua/5.1/loadall.so' no file './socket.so' no file '/usr/local/lib/lua/5.1/socket.so' no file '/usr/local/lib/lua/5.1/loadall.so' stack traceback: [C]: in function 'require' socket.lua:13: in main chunk [C]: ? After searching for Lua on the micro sd-card , only Lua executable. Seems here it ends for remote debugging :( Chris > Hi Chris, > > You don't need the batch file listed for the remote debugging to work > in your case; this is used when the application you want to debug runs > on the same machine as the IDE (I'll update the documentation to make > this clear). All you need is to be able to run "require 'socket'" and > "require 'mobdebug'" from your embedded environment. In fact, if you > can run "require 'socket'" on the board, you should also be able to > run "require 'mobdebug'" on it if you make "mobdebug.lua" available to > it. > > When these steps work, you can then follow the instructions on the > remote debugging page to configure the IDE. Shortly, you need to (1) > set the project folder to point to a copy of your project you want to > debug, (2) start debugger server in the IDE, and (3) include > "require('mobdebug').start("domain.name")" in your script running on > the board, where "domain.name" points to the name or IP address of the > computer running the IDE. > > Paul. > > On Wed, Feb 20, 2013 at 11:32 AM, Program <pgmcbt@xxxxxxxxx> wrote: >> Hello , >> >> I'm a newbie using the Zerobrane Studio. >> >> I'm interested , is it possible to use Zerobrane Studio for remote >> debugging a LUA program on a embedded GNU/Linux Board (GNUblin). >> This board can be connected to the network. >> for more information see www.gnublin.org >> >> My operating system is Win7. >> >> I've followed the documentation Remote debugging, but without any >> positive >> result. >> >> What is the right way to make mobdebug.lua and luasocket.lua available ? >> What do they mean by script to set LUA_PATH and LUA_CPATH ? >> What do they mean by set package.path and package.cpath? >> >> Do I have to make a batch file (*.bat) with : >> >> set ZBS=D:\path\to\ZeroBraneStudio >> set LUA_PATH=./?.lua;%ZBS%/lualibs/?/?.lua;%ZBS%/lualibs/?.lua >> set LUA_CPATH=%ZBS%/bin/?.dll;%ZBS%/bin/clibs/?.dll >> myapplication >> >> Can i see if the debug server is making connection with the GNUblin >> board ? >> >> Many thanks in advance for your time and help. >> >> Regards >> >> Chris >> >> >> >> >> >> >> >> >> >> >> > >