Skip to content

Commit b86fc68

Browse files
committed
Updated documentation for v0.52.
1 parent 792e066 commit b86fc68

File tree

3 files changed

+65
-4
lines changed

3 files changed

+65
-4
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ See examples/README and examples/*.lua for examples of how to use the module.
4444
## Dependencies
4545

4646
MobDebug depends on LuaSocket 2.0 and has been tested with Lua 5.1 and Lua 5.2.
47-
MobDebug also works with LuaJIT 2.0; using `loop` and `scratchpad` methods requires [this commit](http://repo.or.cz/w/luajit-2.0.git/commit/e422ae2d9d184592066c1252ba0b391c4a1830ba) to be included.
47+
MobDebug also works with LuaJIT v2.0; using `loop` and `scratchpad` methods requires v2.0.1.
4848

4949
## Author
5050

@@ -56,6 +56,18 @@ See LICENSE file
5656

5757
## History
5858

59+
### v0.52 (Mar 04 2013)
60+
Added `done()` method to finish debugging and to allow the script to continue.
61+
Added support for cross-platform remote debugging.
62+
Added support for code reloading and coroutine debugging under LuaJIT (v2.0.1).
63+
Added using `socket.connect4` when available.
64+
Added support for debugging Lua 5.2 scripts.
65+
Added check for `os.getenv` for those platforms that don't implement it.
66+
Improved handling of run-time errors in serialized data (__tostring method).
67+
Improved reporting of debugger errors to the application.
68+
Moved mosync/mobileLua code into a separate module.
69+
Fixed an issue with `eval/exec` commands not working immediately after `start()`.
70+
5971
### v0.51 (Dec 13 2012)
6072
- Added yield callback to customize event loop call during debugging.
6173
- Added custom error handler for start() call to report errors remotely.

misc/mobdebug-0.52-1.rockspec

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
package = "MobDebug"
2+
version = "0.52-1"
3+
4+
source = {
5+
url = "git://github.com/pkulchenko/MobDebug.git",
6+
tag = "0.52"
7+
}
8+
9+
description = {
10+
summary = "MobDebug is a remote debugger for the Lua programming language",
11+
detailed = [[
12+
MobDebug allows you control the execution of another Lua program remotely,
13+
set breakpoints, and inspect the current state of the program.
14+
15+
MobDebug is based on [RemDebug](http://www.keplerproject.org/remdebug/) and
16+
extends it in several ways:
17+
18+
* fixed several existing bugs;
19+
* removed dependency on LuaFileSystem;
20+
* added new commands: LOAD, RELOAD, OUT, STACK;
21+
* added support for debugging wxwidgets applications;
22+
* added ability to pause and abort running applications;
23+
* added pretty printing and handling of multiple results in EXEC;
24+
* added stack and local/upvalue value reporting (STACK);
25+
* added on/off commands to turn debugging on and off (to improve performance);
26+
* added support for coroutine debugging (see examples/README for details);
27+
* added support for [Moai](http://getmoai.com/) debugging;
28+
* added support for [MoSync](http://mosync.com/) using [MobileLua](https://github.com/divineprog/mobilelua);
29+
* added support for Lua 5.2;
30+
* added support for LuaJIT debugging (see note in Dependencies);
31+
* added support for cross-platform debugging (with client and server running on different platforms/filesystems);
32+
* tested integration with [ZeroBrane Studio IDE](http://studio.zerobrane.com/).
33+
]],
34+
license = "MIT/X11",
35+
homepage = "https://github.com/pkulchenko/MobDebug"
36+
}
37+
38+
dependencies = {
39+
"lua >= 5.1",
40+
"luasocket >= 2.0"
41+
}
42+
43+
build = {
44+
type = "none",
45+
install = {
46+
lua = { ["mobdebug"] = "src/mobdebug.lua" }
47+
},
48+
copy_directories = { "examples" }
49+
}

src/mobdebug.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
--
2-
-- MobDebug 0.517
3-
-- Copyright 2011-12 Paul Kulchenko
2+
-- MobDebug 0.52
3+
-- Copyright 2011-13 Paul Kulchenko
44
-- Based on RemDebug 1.0 Copyright Kepler Project 2005
55
--
66

77
local mobdebug = {
88
_NAME = "mobdebug",
9-
_VERSION = 0.517,
9+
_VERSION = 0.52,
1010
_COPYRIGHT = "Paul Kulchenko",
1111
_DESCRIPTION = "Mobile Remote Debugger for the Lua programming language",
1212
port = os and os.getenv and os.getenv("MOBDEBUG_PORT") or 8172,

0 commit comments

Comments
 (0)