On Wednesday, 29 March 2023 at 21:09:57 UTC, ryuukk_ wrote:
Also it's more of an accumulation of problems that makes me
very annoyed
https://issues.dlang.org/show_bug.cgi?id=20737
This for example shouldn't be a thing in 2023, period
I agree with you because it's such a simple problem and
On 30/03/2023 10:09 AM, ryuukk_ wrote:
more people should voice their complains
Making noise about problems in D.learn is not the place to do it, I
don't think compiler developers tend to monitor it much.
Show your analysis of the situation in General, that is monitored.
Especially since
On Wednesday, 29 March 2023 at 15:26:21 UTC, Steven Schveighoffer
wrote:
On 3/28/23 6:42 PM, ryuukk_ wrote:
Am i the only want who want to improve things, is it a lost
cause?
I'm not one to use a debugger often, but it is very helpful for
many people. I lament that the Windows debugging
On 3/28/23 6:42 PM, ryuukk_ wrote:
Am i the only want who want to improve things, is it a lost cause?
I'm not one to use a debugger often, but it is very helpful for many
people. I lament that the Windows debugging situation out of the box is
dreadful. The students I teach D to I don't
On linux everything works properly out of the box, i tested with
gdb and i can inspect globals
More info + linux dump on my comment:
https://github.com/microsoft/vscode-cpptools/issues/10751#issuecomment-1487694435
So it's a problem either with msvc, or the way dmd/ldc write
information for
On Tuesday, 28 March 2023 at 14:02:39 UTC, ryuukk_ wrote:
Ready to test folder:
https://github.com/microsoft/vscode-cpptools/issues/10751#issuecomment-1486948783
Contains simple source to reproduce the issue + build script
Also contains binaries + dump in case you just want to see the
data
Ready to test folder:
https://github.com/microsoft/vscode-cpptools/issues/10751#issuecomment-1486948783
Contains simple source to reproduce the issue + build script
Also contains binaries + dump in case you just want to see the
data
Hopefully we can figure that out
C program:
```C
int notice_me_global = -1;
void main()
{
notice_me_global = -5;
}
```
``cl app_c.c /DEBUG /Zi /EHsc /std:c11 /link /DEBUG
/out:app_c.exe``
``llvm-pdbutil.exe dump --globals app_c.pdb > dump_c``
```
688476 | S_GDATA32 [size = 32] `notice_me_global`
type =
I opened an issue on microsoft's github, let's see what they have
to say: https://github.com/microsoft/vscode-cpptools/issues/10751
On Tuesday, 28 March 2023 at 11:07:02 UTC, ryuukk_ wrote:
On Tuesday, 28 March 2023 at 04:22:24 UTC, Richard (Rikki)
Andrew Cattermole wrote:
On 28/03/2023 2:25 PM, ryuukk_ wrote:
On Tuesday, 28 March 2023 at 01:06:50 UTC, Richard (Rikki)
Andrew Cattermole wrote:
Have you tried installing
On Tuesday, 28 March 2023 at 04:22:24 UTC, Richard (Rikki) Andrew
Cattermole wrote:
On 28/03/2023 2:25 PM, ryuukk_ wrote:
On Tuesday, 28 March 2023 at 01:06:50 UTC, Richard (Rikki)
Andrew Cattermole wrote:
Have you tried installing mago?
https://github.com/rainers/mago
There are instructions
On Tuesday, 28 March 2023 at 04:22:24 UTC, Richard (Rikki) Andrew
Cattermole wrote:
On 28/03/2023 2:25 PM, ryuukk_ wrote:
On Tuesday, 28 March 2023 at 01:06:50 UTC, Richard (Rikki)
Andrew Cattermole wrote:
Have you tried installing mago?
https://github.com/rainers/mago
There are instructions
On Tuesday, 28 March 2023 at 01:04:19 UTC, ryuukk_ wrote:
I've now waste an entire day trying to figure out what's wrong,
perhaps trusted D for my projects was a bad idea, i now look
like a fool
sorry to hear that, I haven't really been looking to much into
the debugging problems here yet.
On 28/03/2023 2:25 PM, ryuukk_ wrote:
On Tuesday, 28 March 2023 at 01:06:50 UTC, Richard (Rikki) Andrew
Cattermole wrote:
Have you tried installing mago?
https://github.com/rainers/mago
There are instructions for vs-code in README.
I did not try mago, but it shouldn't be needed as pdb is
On 28/03/2023 2:33 PM, ryuukk_ wrote:
what is: "Manual Installation of the Concord extension in VS Code", i
can't find it anywhere
Extension is mago, but don't forget: cpptools-1.4.0 or later needed.
what are: "MagoNatCC.dll, MagoNatCC.vsdconfig and .vsdbg-config.json"? i
can only find:
On Tuesday, 28 March 2023 at 01:21:02 UTC, Richard (Rikki) Andrew
Cattermole wrote:
On 28/03/2023 2:06 PM, Richard (Rikki) Andrew Cattermole wrote:
Have you tried installing mago?
https://github.com/rainers/mago
There are instructions for vs-code in README.
Binaries are available in the
On Tuesday, 28 March 2023 at 01:06:50 UTC, Richard (Rikki) Andrew
Cattermole wrote:
Have you tried installing mago?
https://github.com/rainers/mago
There are instructions for vs-code in README.
I did not try mago, but it shouldn't be needed as pdb is
universally understood by tools
It
On 28/03/2023 2:06 PM, Richard (Rikki) Andrew Cattermole wrote:
Have you tried installing mago?
https://github.com/rainers/mago
There are instructions for vs-code in README.
Binaries are available in the installer of VisualD, they can be
extracted by 7zip (I've checked everything is in
Have you tried installing mago?
https://github.com/rainers/mago
There are instructions for vs-code in README.
I've now waste an entire day trying to figure out what's wrong,
perhaps trusted D for my projects was a bad idea, i now look like
a fool
Fore more clarity, all syntax i have tried:
```
type_to_tiledef
kshared.defs.type_to_tiledef
_D7kshared4defs15type_to_tiledef
kshared:defs:type_to_tiledef
kshared::defs::type_to_tiledef
kshared->defs->type_to_tiledef
```
Two questions for the D team:
Does globals have a special syntax? as you can see above i also
tried the mangled name inside the PDB (using hex viewer
https://github.com/WerWolv/ImHex)
Walter, how do you debug your programs written in D?
To clarify, i tested both dmd/ldc, they both doesn't work on
windows
To clarify even more:
I am a mere user who wants to debug its program on windows using
vscode's debugger wich uses msvc
I can debug a c/rust/zig executable without issue and see globals
The problem only happens with
On Monday, 27 March 2023 at 19:31:24 UTC, Richard (Rikki) Andrew
Cattermole wrote:
The person you need is WebFreak and they are not online right
now.
On IRC earlier today
```
[6:43:29 pm] nope, I haven't gotten globals to work
in debugger before
[6:43:33 pm] I don't think they are
The person you need is WebFreak and they are not online right now.
If anyone know what is the problem exactly, then please speak up,
this problem needs to be reported to the right place fixed so it
can be fixed, all languages i tested don't have this issue (c,
rust, zig, odin)
D is not a toy language, let's take this issue seriously, shall
we? or is it?..
Anyone got an idea?
Executable built with : ``dmd -g -debug`` on windows
On Visual Studio with the visuald addon i can debug the
executable and inspect the globals
On VSCode i can debug the executable and inspect locals, but not
globals
What does visuald does under the hood to be able to
I tried to look around, what ever i try, nothing works
There is a mention of "fully qualified" here:
https://forum.dlang.org/post/peb1jj$tr$1...@digitalmars.com
But what does that mean?
I tried this:
![screenshot](https://i.imgur.com/JZooIic.pngg)
But it doesn't work
28 matches
Mail list logo