www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - code-debug 0.6.0 released (GDB & LLDB for vscode)

reply WebFreak001 <janju007 web.de> writes:
I just released version 0.6.0 of my debug extension for visual 
studio code. It works really well for debugging D code and I also 
use it everytime I debug my D code. It's still not completely 
finished but it supports lots of features now. If you want to 
debug your code in vscode just install the extension with

ext install gdb

The name of the extension is "Debug" but "gdb" is more specific 
for finding it

LLDB is freshly added so be sure to report bugs to the github 
repository. :)

github: https://github.com/WebFreak001/code-debug
vscode: 
https://marketplace.visualstudio.com/items?itemName=webfreak.debug
Mar 06 2016
next sibling parent extrawurst <stephan extrawurst.org> writes:
On Sunday, 6 March 2016 at 11:25:30 UTC, WebFreak001 wrote:
 I just released version 0.6.0 of my debug extension for visual 
 studio code. It works really well for debugging D code and I 
 also use it everytime I debug my D code. It's still not 
 completely finished but it supports lots of features now. If 
 you want to debug your code in vscode just install the 
 extension with

 ext install gdb

 The name of the extension is "Debug" but "gdb" is more specific 
 for finding it

 LLDB is freshly added so be sure to report bugs to the github 
 repository. :)

 github: https://github.com/WebFreak001/code-debug
 vscode: 
 https://marketplace.visualstudio.com/items?itemName=webfreak.debug
Great stuff, especially LLDB - if now only code-d would work for osx :P --Stephan
Mar 06 2016
prev sibling next sibling parent Guillaume Piolat <contact gam3sfrommars.fr> writes:
On Sunday, 6 March 2016 at 11:25:30 UTC, WebFreak001 wrote:
 I just released version 0.6.0 of my debug extension for visual 
 studio code. It works really well for debugging D code and I 
 also use it everytime I debug my D code. It's still not 
 completely finished but it supports lots of features now. If 
 you want to debug your code in vscode just install the 
 extension with

 ext install gdb

 The name of the extension is "Debug" but "gdb" is more specific 
 for finding it

 LLDB is freshly added so be sure to report bugs to the github 
 repository. :)

 github: https://github.com/WebFreak001/code-debug
 vscode: 
 https://marketplace.visualstudio.com/items?itemName=webfreak.debug
Very interesting, thanks!
Mar 07 2016
prev sibling next sibling parent reply Manu via Digitalmars-d-announce <digitalmars-d-announce puremagic.com> writes:
On 6 March 2016 at 21:25, WebFreak001 via Digitalmars-d-announce
<digitalmars-d-announce puremagic.com> wrote:
 I just released version 0.6.0 of my debug extension for visual studio code.
 It works really well for debugging D code and I also use it everytime I
 debug my D code. It's still not completely finished but it supports lots of
 features now. If you want to debug your code in vscode just install the
 extension with

 ext install gdb

 The name of the extension is "Debug" but "gdb" is more specific for finding
 it

 LLDB is freshly added so be sure to report bugs to the github repository. :)

 github: https://github.com/WebFreak001/code-debug
 vscode: https://marketplace.visualstudio.com/items?itemName=webfreak.debug
Cool, I'll give this a crack. I've tried out code-d, but it only seems to do anything useful with dub. None of my projects use dub. Every project I have combines C/C++/D, and dub is an insufficient build system. I can configure vscode projects to invoke my builds, but code-d doesn't have any project metadata to work with in that context. Can you work code-d to get its necessary working state from explicit variables in the vscode project file?
Mar 07 2016
next sibling parent ZombineDev <petar.p.kirov gmail.com> writes:
On Tuesday, 8 March 2016 at 00:23:55 UTC, Manu wrote:
 On 6 March 2016 at 21:25, WebFreak001 via 
 Digitalmars-d-announce <digitalmars-d-announce puremagic.com> 
 wrote:
 [...]
Cool, I'll give this a crack. I've tried out code-d, but it only seems to do anything useful with dub. None of my projects use dub. Every project I have combines C/C++/D, and dub is an insufficient build system. I can configure vscode projects to invoke my builds, but code-d doesn't have any project metadata to work with in that context. Can you work code-d to get its necessary working state from explicit variables in the vscode project file?
It should be fairly simple to write a dummy dub.json file that specifies your .d files. You don't even have to use it as a build system - just for IDE project management.
Mar 08 2016
prev sibling parent WebFreak001 <janju007 web.de> writes:
On Tuesday, 8 March 2016 at 00:23:55 UTC, Manu wrote:
 I've tried out code-d, but it only seems to do anything useful 
 with dub.
 None of my projects use dub. Every project I have combines 
 C/C++/D,
 and dub is an insufficient build system.
 I can configure vscode projects to invoke my builds, but code-d
 doesn't have any project metadata to work with in that context.
 Can you work code-d to get its necessary working state from 
 explicit
 variables in the vscode project file?
If you use some other common build system you can include it into workspace-d as alternative backend and code-d will be able to use it by just changing a few lines Otherwise just do what the others said and add pre/postLaunchScripts Might aswell add a custom format just for the IDE containing just the file informations or implement visualD, monoD and all those other IDE formats
Mar 10 2016
prev sibling parent Rory McGuire via Digitalmars-d-announce writes:
On Tue, Mar 8, 2016 at 2:23 AM, Manu via Digitalmars-d-announce
<digitalmars-d-announce puremagic.com> wrote:
 On 6 March 2016 at 21:25, WebFreak001 via Digitalmars-d-announce
 <digitalmars-d-announce puremagic.com> wrote:
 I just released version 0.6.0 of my debug extension for visual studio code.
 It works really well for debugging D code and I also use it everytime I
 debug my D code. It's still not completely finished but it supports lots of
 features now. If you want to debug your code in vscode just install the
 extension with

 ext install gdb

 The name of the extension is "Debug" but "gdb" is more specific for finding
 it

 LLDB is freshly added so be sure to report bugs to the github repository. :)

 github: https://github.com/WebFreak001/code-debug
 vscode: https://marketplace.visualstudio.com/items?itemName=webfreak.debug
Cool, I'll give this a crack. I've tried out code-d, but it only seems to do anything useful with dub. None of my projects use dub. Every project I have combines C/C++/D, and dub is an insufficient build system. I can configure vscode projects to invoke my builds, but code-d doesn't have any project metadata to work with in that context. Can you work code-d to get its necessary working state from explicit variables in the vscode project file?
Hi Manu, Have you checked out these dub commands? preBuildCommands string[] A list of shell commands that is executed always before the project is built postBuildCommands string[] A list of shell commands that is executed always after the project is built R
Mar 07 2016