Questions tagged [zerobrane]

ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax highlighting, remote debugger, code analyzer, live coding, and debugging support for several Lua engines.

ZeroBrane Studio is a lightweight Lua IDE with code completion, syntax highlighting, remote debugger, code analyzer, live coding, and debugging support for several Lua engines.

It is simple and instantly usable for beginners (as tested with middle and high school students with no programming experience), yet feature-rich and extensible for experienced developers. Unlike Eclipse and IntelliJ, it has a small footprint and is completely customizable with Lua. Unlike TextMate and Sublime Text, it includes a remote debugger and a full IDE feature set.

ZeroBrane Studio also provides several unique features: live coding for immediate feedback, Markdown formatting in comments for providing instructions with minimal context switching, and integrated interactive materials for those learning Lua or getting familiar with programming.

Feature highlights

  • Small, portable, open-source, and cross-platform (Windows, Mac OSX, and Linux).
  • Auto-completion for functions, keywords, and custom APIs.
  • Interactive console to directly test code snippets with local and remote execution.
  • Live coding with Lua (demo), Löve 2D (demo), Gideros (demo), Moai (demo), and Corona (demo).
  • Integrated debugger (with support for local and remote debugging), and more.

Source: http://studio.zerobrane.com/

137 questions
1
vote
1 answer

Trying to use: zbstudio.exe -cfg "ini=false" but where do I put the path and filename of my alternative ini file?

With the above I get the error msg below in the console: Can't open file 'ini=false': the system cannot find the file specified. It's trying to open the filename 'ini=false'!?
Dafoosa
  • 123
  • 1
  • 7
1
vote
1 answer

Error: Lapack library not found in compile time (zerobrane, lua, torch)

After research I found: git clone https://github.com/xianyi/OpenBLAS.git cd OpenBLAS make NO_AFFINITY=1 USE_OPENMP=1 sudo make install and CMAKE_LIBRARY_PATH=/opt/OpenBLAS/include:/opt/OpenBLAS/lib:$CMAKE_LIBRARY_PATH luarocks install torch which…
mrk
  • 8,059
  • 3
  • 56
  • 78
1
vote
1 answer

how to automatically break the lua program at the error line

I use my own interpreter to run the lua program and debug with zerobrane. If the interpreter encounters an error, how to let the debugger break at the error line?
Mixwind
  • 31
  • 3
1
vote
1 answer

Error while installing from script ZeroBraneStudio

When executing ZeroBraneStudioEduPack-1.70-linux.sh i get this error: xdg-desktop-menu: No writable system menu directory found. It could be related to my desktop environment ? currently i'm using sway with xwayland.
Luca
  • 55
  • 7
1
vote
1 answer

Stack window shows no output when debugging Redis Lua scripts with ZeroBrane

I have followed this tutorial to debug Redis Lua scripts. https://www.youtube.com/watch?v=7mlajCj4QPw Everything works except for that the Stack window shows no output so I can't see the value of the variables which is what I need to debug. If I…
Alex
  • 5,671
  • 9
  • 41
  • 81
1
vote
1 answer

ZBS ZeroBraneStudio lua libs location in Mac OS

I wanted to debug openresty lua which is running in my local host. I installed ZBS IDE for that purpose in my MAC. I am going through the documentation available at. The instruction says I need to set the below in the nginx conf lua_package_path…
GAK
  • 1,018
  • 1
  • 14
  • 33
1
vote
1 answer

How to read image and get your pixels in lua language

I am developing an application that generates images from certain input data through the command "iup.image" and "iup.SaveImage". Now, I need to read this image file again and retrieve the pixels. I found the command "iup.LoadImage" but I could not…
1
vote
1 answer

Debugging suspended at 'mobdebug.start():1' (couldn't activate the file)

I am trying to use Remote Debugging of ZeroBrane to debug my application. I don't want users add any extra codes to their scripts. So when a user click the debug button, at the C side, first, I set the path and call the mobdebug lib, then I try to…
Mixwind
  • 31
  • 3
1
vote
1 answer

How can I add multiple functions with a same name for ZeroBrane's API?

I found in the API file for ZeroBrane I can only add one name for one function. If I add multiple functions with a same name, then I type the name in the lua IDE, it can only show me a single tip.
Mixwind
  • 31
  • 3
1
vote
1 answer

How to debug Premake5 with ZeroBrane

I'm having problems while trying to debug Premake5 (https://github.com/premake/premake-core) on macOS Sierra 10.12, using ZeroBrane I've added the package.cpath and package.path (before calling require('mobdebug').start()) as described in ZeroBrane…
1
vote
1 answer

How to install Lua GUI in ZBS IDE

I am completely new to programming in Lua outside a sandbox. I have found a library called Lua GUI that I'd like to use (https://github.com/williamwilling/luagui/). I have still not understood how to quite install the library, and how I even go…
1
vote
1 answer

Automatically start debugger server when ZeroBrane starts

How to make ZeroBrane to automatically initiate the debugger server on startup? I have embedded Lua in a C++ application. I would like to debug the Lua scripts using ZeroBrane. The C++ application launches ZeroBrane, call mobdebug.start(), but…
1
vote
1 answer

Running ZeroBrane Studio Debugger on Multi User Machine #zerobrane

I'm trying to set up ZeroBraneStudio on a multi-user linux platform there is an issue with running against the debugger server. When one user starts or runs against the debugger server other users are locked out of using the debugger. There is an…
1
vote
0 answers

Key_Down event doesn't trigger on Macs using ZeroBrane Turtle library

I've been using ZeroBrane & its included Turtle library to teach (very) basic programming skills to young kids. This week is the 2nd time a kid has come with a Mac, and both times the char() function didn't work in their code. I tracked it back as…
Ma Arme
  • 11
  • 2
1
vote
1 answer

Correct path for zerobrane torch package installtion in OSX using torch-cl?

I have Zerobrane studio installed on OSX Capitan and want to add the torch package, but am unable to determine the correct placement with for torch-cl. When I try to select the Lua interpreter, torch does not appear as a choice. I currently have it…
Roc Myers
  • 11
  • 2