www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - No VS solution files for Druntime and phobos?

reply 12345swordy <alexanderheistermann gmail.com> writes:
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
Feb 17 2020
next sibling parent rikki cattermole <rikki cattermole.co.nz> writes:
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".
Feb 17 2020
prev sibling parent reply Petar Kirov [ZombineDev] <petar.p.kirov gmail.com> writes:
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
Feb 17 2020
next sibling parent Manu <turkeyman gmail.com> writes:
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.
Feb 18 2020
prev sibling parent 12345swordy <alexanderheistermann gmail.com> writes:
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
Feb 18 2020