Re: code-debug 0.6.0 released (GDB & LLDB for vscode)

2016-03-10 Thread WebFreak001 via Digitalmars-d-announce

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


Re: code-debug 0.6.0 released (GDB & LLDB for vscode)

2016-03-08 Thread ZombineDev via Digitalmars-d-announce

On Tuesday, 8 March 2016 at 00:23:55 UTC, Manu wrote:
On 6 March 2016 at 21:25, WebFreak001 via 
Digitalmars-d-announce  
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.


Re: code-debug 0.6.0 released (GDB & LLDB for vscode)

2016-03-07 Thread Rory McGuire via Digitalmars-d-announce
On Tue, Mar 8, 2016 at 2:23 AM, Manu via Digitalmars-d-announce
 wrote:
>
> On 6 March 2016 at 21:25, WebFreak001 via Digitalmars-d-announce
>  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


Re: code-debug 0.6.0 released (GDB & LLDB for vscode)

2016-03-07 Thread Manu via Digitalmars-d-announce
On 6 March 2016 at 21:25, WebFreak001 via Digitalmars-d-announce
 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?


Re: code-debug 0.6.0 released (GDB & LLDB for vscode)

2016-03-07 Thread Guillaume Piolat via Digitalmars-d-announce

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!


Re: code-debug 0.6.0 released (GDB & LLDB for vscode)

2016-03-06 Thread extrawurst via Digitalmars-d-announce

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


code-debug 0.6.0 released (GDB & LLDB for vscode)

2016-03-06 Thread WebFreak001 via Digitalmars-d-announce
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