Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
February 17, 2020 No VS solution files for Druntime and phobos? | ||||
---|---|---|---|---|
| ||||
It seems so strange that there is a vs solution file for dmd, but not for Druntime and phobos? How the heck am I suppose to debug the Druntime in VS then? -Alex |
February 18, 2020 Re: No VS solution files for Druntime and phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to 12345swordy | On 18/02/2020 10:40 AM, 12345swordy wrote:
> It seems so strange that there is a vs solution file for dmd, but not for Druntime and phobos? How the heck am I suppose to debug the Druntime in VS then?
>
>
> -Alex
VS -> open project or solution -> select exe
If compiled with -g and VisualD installed this should "just work".
|
February 18, 2020 Re: No VS solution files for Druntime and phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to 12345swordy | On Monday, 17 February 2020 at 21:40:42 UTC, 12345swordy wrote: > It seems so strange that there is a vs solution file for dmd, but not for Druntime and phobos? How the heck am I suppose to debug the Druntime in VS then? > > > -Alex @rainers has created a repo that contains project files for druntime and phobos, in addition to dmd: https://github.com/rainers/dlangvs The dlangvs repo has the upstream D repos included as git submodules, so if you clone it recursively: git clone --recurse-submodules https://github.com/rainers/dlangvs.git It should all work™ (though I haven't tried it, since I haven't used Windows for development in a long time and when I did I was using WSL). Since the git submodules by definition are locked a particular version, you will need to update them to the latest one, which could be done like so: git submodule update --remote |
February 18, 2020 Re: No VS solution files for Druntime and phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On Mon, Feb 17, 2020 at 10:35 PM Petar via Digitalmars-d <digitalmars-d@puremagic.com> wrote:
>
> On Monday, 17 February 2020 at 21:40:42 UTC, 12345swordy wrote:
> > It seems so strange that there is a vs solution file for dmd, but not for Druntime and phobos? How the heck am I suppose to debug the Druntime in VS then?
> >
> >
> > -Alex
>
> @rainers has created a repo that contains project files for druntime and phobos, in addition to dmd: https://github.com/rainers/dlangvs
>
> The dlangvs repo has the upstream D repos included as git submodules, so if you clone it recursively:
>
> git clone --recurse-submodules https://github.com/rainers/dlangvs.git
>
> It should all work™ (though I haven't tried it, since I haven't used Windows for development in a long time and when I did I was using WSL).
>
> Since the git submodules by definition are locked a particular
> version, you will need to
> update them to the latest one, which could be done like so:
>
> git submodule update --remote
>
I use this, it works well.
|
February 19, 2020 Re: No VS solution files for Druntime and phobos? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Petar Kirov [ZombineDev] | On Tuesday, 18 February 2020 at 06:31:53 UTC, Petar Kirov [ZombineDev] wrote:
> On Monday, 17 February 2020 at 21:40:42 UTC, 12345swordy wrote:
>> [...]
>
> @rainers has created a repo that contains project files for druntime and phobos, in addition to dmd:
> https://github.com/rainers/dlangvs
>
> The dlangvs repo has the upstream D repos included as git submodules, so if you clone it recursively:
>
> git clone --recurse-submodules https://github.com/rainers/dlangvs.git
>
> It should all work™ (though I haven't tried it, since I haven't used Windows for development in a long time and when I did I was using WSL).
>
> Since the git submodules by definition are locked a particular version, you will need to
> update them to the latest one, which could be done like so:
>
> git submodule update --remote
Thank you!
-Alex
|
Copyright © 1999-2021 by the D Language Foundation