[ZeroBrane Studio] Debugger not breaking in external file with relative path

  • From: Derek Bailey <dbaileychess@xxxxxxxxx>
  • To: zerobrane <zerobrane@xxxxxxxxxxxxx>
  • Date: Tue, 29 Mar 2016 17:29:11 -0700

I cannot get the debugger to break at my breakpoints in an external file
that is contained in a parent directory (e.g.  "../otherfile.lua")

I attached a minimal example to show the issue

Directory Structure:

  \testfile.lua
  \SomeDir\test.lua

ZBS Current Project Directory = \SomeDir\

If I place a breakpoint in testfile.lua:2 and execute test.lua, the
breakpoint does not trip.

However, if testfile.lua is located in the same directory or a child
directory (\SomeDir\OtherDir\testfile.lua) the break points work fine.

I would like to debug Lua files that are contained outside of my project
directory.

I'm running the latest Dev ZBS (392ad0d).

Take Care,

    Derek

Attachment: test.lua
Description: Binary data

Attachment: testfile.lua
Description: Binary data

Other related posts: