Well, integration is really uncool and it's not fun. At least I managed to get a breakpoint working
This works, but handling external libraries with dub
seems to be a mess.
What I did:
- Install dlang (I used "Install Script")
- Install Monodevelop
- Install dlang addin from monodevelop (
Tools > Add-in Manager > search "D Language Binding"
. Oh and GDB may be handy too) - Create an empty dlang project
- Run
dub init
in the folder that contains thedproj
project file - Open project in monodevelop (if you installed dlang from script, open monodevelop with command line where you activated dlang so it can see
dmd
anddub
commands) - Right click on your project,
Add existing folder
, selectsource
- Run with debug (have your breakpoint ready).
This worked for me, but it was a pain to figure this out. To have your dependencies loaded, you can double click the project (Project options), go to Includes
and then manually add every single dependecie's source
folder.
Don't enjoy.