You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GOROOT=/usr/local/Cellar/go/1.11.4/libexec #gosetup
GOPATH=/Users/testGOROOT=/usr/local/Cellar/go/1.11.4/libexec #gosetup
GOPATH=/Users/test/workspace/go #gosetup
/usr/local/Cellar/go/1.11.4/libexec/bin/go build -o /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc -gcflags "all=-N -l" github.com/appbaseio/arc #gosetup
/Users/testGOROOT=/usr/local/Cellar/go/1.11.4/libexec #gosetup
GOPATH=/Users/test/workspace/go #gosetup
/usr/local/Cellar/go/1.11.4/libexec/bin/go build -o /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc -gcflags "all=-N -l" github.com/appbaseio/arc #gosetup
/Users/test/workspace/go/bin/dlv --listen=localhost:60879 --headless=true --api-version=2 exec /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc -- #gosetup
API server listening at: 127.0.0.1:60879
debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-1001.0.13.3
for x86_64.
Got a connection, launched process /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc (pid = 32250).
Exiting.
could not launch process: decoding dwarf section info at offset 0x0: too short
Debugger finished with exit code 1
/workspace/go/bin/dlv --listen=localhost:60879 --headless=true --api-version=2 exec /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc -- #gosetup
API server listening at: 127.0.0.1:60879
debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-1001.0.13.3
for x86_64.
Got a connection, launched process /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc (pid = 32250).
Exiting.
could not launch process: decoding dwarf section info at offset 0x0: too short
Debugger finished with exit code 1
/workspace/go #gosetup
/usr/local/Cellar/go/1.11.4/libexec/bin/go build -o /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc -gcflags "all=-N -l" github.com/appbaseio/arc #gosetup
/Users/test/workspace/go/bin/dlv --listen=localhost:60879 --headless=true --api-version=2 exec /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc -- #gosetup
API server listening at: 127.0.0.1:60879
debugserver-@(#)PROGRAM:debugserver PROJECT:debugserver-1001.0.13.3
for x86_64.
Got a connection, launched process /private/var/folders/ff/xb8nm7d571940s44988h063h0000gp/T/___go_build_github_com_appbaseio_arc (pid = 32250).
Exiting.
could not launch process: decoding dwarf section info at offset 0x0: too short
Debugger finished with exit code 1
no, but I start an elasticsearch instance locally (not by docker). I am not sure how to debug arc, cause the arc plugin as built as so. actually, in old arc version (no plugin system), we can easily debug it with goland.
You can debug it now also. Just connect the Arc project with your ES cluster and then open it on your GoLand. You can check the functions by running the tests written separately.
Activity
siddharthlatest commentedon Aug 1, 2019
@Zuckonit What issue are you seeing while debugging it?
Zuckonit commentedon Aug 6, 2019
Zuckonit commentedon Aug 14, 2019
would you please give any help, thanks very much
harsh-2711 commentedon Sep 25, 2019
@Zuckonit Have you used
docker-compose upcommand before debugging?Zuckonit commentedon Sep 29, 2019
no, but I start an elasticsearch instance locally (not by docker). I am not sure how to debug arc, cause the arc plugin as built as so. actually, in old arc version (no plugin system), we can easily debug it with goland.
harsh-2711 commentedon Sep 29, 2019
You can debug it now also. Just connect the Arc project with your ES cluster and then open it on your GoLand. You can check the functions by running the tests written separately.
Zuckonit commentedon Sep 30, 2019
would you mind to share your build configuration of goland? my configuration even is not runnable

harsh-2711 commentedon Sep 30, 2019
Sure. Take a look