Re: How debugg unittest with visual code + code-d

2020-06-06 Thread Luis via Digitalmars-d-learn
On Saturday, 6 June 2020 at 08:42:22 UTC, WebFreak001 wrote: On Saturday, 6 June 2020 at 08:06:02 UTC, Luis wrote: On Friday, 5 June 2020 at 18:13:52 UTC, WebFreak001 wrote: [...] It isn't working correctly on my case : I get this error : Performing "unittest" build using dmd for x86_64.

Re: How debugg unittest with visual code + code-d

2020-06-06 Thread WebFreak001 via Digitalmars-d-learn
On Saturday, 6 June 2020 at 08:06:02 UTC, Luis wrote: On Friday, 5 June 2020 at 18:13:52 UTC, WebFreak001 wrote: [...] It isn't working correctly on my case : I get this error : Performing "unittest" build using dmd for x86_64. ddiv ~sparseSet: building configuration "unittest"...

Re: How debugg unittest with visual code + code-d

2020-06-06 Thread Andre Pany via Digitalmars-d-learn
On Saturday, 6 June 2020 at 08:06:02 UTC, Luis wrote: On Friday, 5 June 2020 at 18:13:52 UTC, WebFreak001 wrote: To build before running the debugger, add the following task to your task definitions file (Ctrl-Shift-B): { "label": "dub build", // <-- add a good name here

Re: How debugg unittest with visual code + code-d

2020-06-06 Thread Luis via Digitalmars-d-learn
On Friday, 5 June 2020 at 18:13:52 UTC, WebFreak001 wrote: To build before running the debugger, add the following task to your task definitions file (Ctrl-Shift-B): { "label": "dub build", // <-- add a good name here "type": "dub", "run": false, "buildType":

Re: How debugg unittest with visual code + code-d

2020-06-05 Thread WebFreak001 via Digitalmars-d-learn
On Friday, 5 June 2020 at 17:03:40 UTC, Luis wrote: So I actually managed to "debug" my unittests but It requires that I run previsuly "dub test" on console, so the executable is update. As I understand, I need to setup a task to be prelaunched by debug to generate the unittest executable, but

How debugg unittest with visual code + code-d

2020-06-05 Thread Luis via Digitalmars-d-learn
So I actually managed to "debug" my unittests but It requires that I run previsuly "dub test" on console, so the executable is update. As I understand, I need to setup a task to be prelaunched by debug to generate the unittest executable, but I don't know how setup it correctly. I only manage