[ZeroBrane Studio] Re: debug

  • From: roger holmes <sierramanagement@xxxxxxxxxxx>
  • To: zerobrane@xxxxxxxxxxxxx
  • Date: Sat, 3 Oct 2015 20:12:04 -0500

the debug does work in the ide .



On Oct 3, 2015, at 8:05 PM, roger holmes <sierramanagement@xxxxxxxxxxx> wrote:

this is what i am getting now, not sure how to proceed…

roger holmes

Debugger sent (command): output stdout r
Can't start debugging session due to internal error
'lualibs/mobdebug/mobdebug.lua:1450: bad argument #1 to 'find' (string
expected, got nil)'.
Debugger sent (command): exit
Program finished
Debugger received (file, line, err): nil nil nil
Debugging session completed (traced 0 instructions).



On Oct 3, 2015, at 5:01 PM, Paul K <paul@xxxxxxxxxxxxx> wrote:

Hi Roger,

Can't start debugging for '/lua_projects/donnietv/ifc/newspage.lua'.
Compilation error:
Debugger connection closed

This looks like the debugging started and immediately stopped because
of a closed connection. I'm not sure what may be closing the
connection, but I'd check if the firewall settings allow connections
to port 8172 (this is the default port using in the debugging). Also,
you can check if the debugging works locally; just try to debug
something in the IDE, without running the script on the phone.

If this doesn't give you any new information, you can add
'debugger.verbose=true' to the IDE config file (Edit | Preferences |
Settings: User) to get more detailed output from the debugger on
everything that is sent/received from the app.

Paul.

Paul.

On Sat, Oct 3, 2015 at 2:51 PM, roger holmes
<sierramanagement@xxxxxxxxxxx> wrote:
Ok, erased all zero bane elements from computer, downloaded new version
(paid of course) and now it
does not give me the same error, on close it gives me this :



Can't start debugging for '/lua_projects/donnietv/ifc/newspage.lua'.
Compilation error:
Debugger connection closed
Debugging session completed (traced 0 instructions).


I have a break point set in newspage.lua , trying to debug on iPhone….

roger



On Oct 3, 2015, at 4:24 PM, roger holmes <sierramanagement@xxxxxxxxxxx>
wrote:

Great I will delete this version and download from your site now.


On Oct 3, 2015, at 4:21 PM, Paul K <paul@xxxxxxxxxxxxx> wrote:

Hi Roger,

Mobdebug version = .564
ZeroBrane Studio (devel; MobDebug 0.564)

That's a quite old version of mobdebug. As you seem to be running from
a cloned repository or a repository archive (judging by "devel"
version number), can you pull the current version and copy the
mobdebug to your application? It should be version 0.628. It may fix
the issue, but even if not, I'll have a better idea of what may be
going on. Thanks.

Paul.

On Sat, Oct 3, 2015 at 2:15 PM, roger holmes
<sierramanagement@xxxxxxxxxxx> wrote:
Mobdebug version = .564


ZeroBrane Studio (devel; MobDebug 0.564)
Copyright © 2011-2014 ZeroBrane LLC
Paul Kulchenko
Licensed under the MIT License.


On Oct 3, 2015, at 4:05 PM, Paul K <paul@xxxxxxxxxxxxx> wrote:

Hi Roger,

What does this error mean ?
Can't start debugging session due to internal error
'lualibs/mobdebug/mobdebug.lua:1455: bad argument #1 to 'find' (string
expected, got nil)’

What's the version of mobdebug you are using? You can find the line
with _VERSION = ... in the file to check. Also what version of
ZeroBrane Studio are you running?

Paul.

On Sat, Oct 3, 2015 at 12:20 PM, roger holmes
<sierramanagement@xxxxxxxxxxx> wrote:
What does this error mean ?


Can't start debugging session due to internal error
'lualibs/mobdebug/mobdebug.lua:1455: bad argument #1 to 'find' (string
expected, got nil)’


in main.lua

require("scripts.mobdebug").start("10.1.10.15”)

scripts is subduer where mobdebug.lua is and the address is my laptop


app is running on iPhone 6 connected by usb to laptop…


Thanks,

Roger Holmes













Other related posts: