Zeus + Go Delve Debugger

Find Tips and tricks on how to better use the Zeus editor. Feel free to post your own tips but please do not post bug reports, feature requests or questions here.
Post Reply
jussij
Site Admin
Posts: 2471
Joined: Fri Aug 13, 2004 5:10 pm

Zeus + Go Delve Debugger

Post by jussij » Tue Feb 02, 2016 7:14 am

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 2339 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

Post Reply
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 1 guest