Page 1 of 1

Zeus + Go Delve Debugger

Posted: Tue Feb 02, 2016 7:14 am
by jussij
This link describes how to use the Go Delve debugger inside the Zeus IDE.

Running the Delve Debugger inside Zeus
To use the Delve debugger from within Zeus just download and install the latest Zeus version found here.

If you have a previous version of Zeus installed make sure you move that version out of the way using the instructions found here: viewtopic.php?t=2719

Delve and Zeus in Action
With that latest version installed you can debug Go code inside the IDE as shown below:
delve_dbg.png
delve_dbg.png (133.33 KiB) Viewed 30464 times
An example video showing how to use the Delve debugger inside Zeus can be found here: https://youtu.be/-uu8L2wxP1k

Another video highlighting some of the other Zeus Go specific features can be found here: https://youtu.be/EaVtoti4Hs4

Building the Delve Debugger

The Zeus installer contains an alpha version of the Delve debugger which naturally will need to be updated as Delve matures.

Instructions of on how to build a new Delve executable can be found here: https://github.com/derekparker/delve/wiki/Building

The build process is fairly simple and provided you have the machine setup as per the details in the link above the build process is as simple as:

Code: Select all

set GO15VENDOREXPERIMENT=1 
mingw32-make install
The only other step is to make sure that dlv.exe produced is in the PATH.

An easy way to do this is to just copy it over the top of the version added by the installer.

The installer puts it's version of the Delve debugger into this location.

Code: Select all

C:\Program Files (x86)\Zeus\zGNU\Go\dlv.exe