November 28, 2021 Learn » Re: Debugging D code with GDB | |||
|---|---|---|---|
| |||
DMD doesn't emit this information. GDB can't work miracles when the compiler isn... | |||
November 28, 2021 Learn » Re: Debugging D code with GDB | |||
|---|---|---|---|
| |||
...is a plugin the mangle the call in custom expression before passing it to gdb ;) | |||
November 28, 2021 Learn » Re: Debugging D code with GDB | |||
|---|---|---|---|
| |||
there is a plugin to demangle things automatically https://github.com/ANtlord/gdb-ddemangle | |||
November 28, 2021 Learn » Re: Debugging D code with GDB | |||
|---|---|---|---|
| |||
...string[] args)
{
S s;
return 0;
}
```
in gdb CLI
```bash
p (int) _D1a1S7myPrintMFZi(s)
$1... | |||
November 27, 2021 Debuggers » Re: Debugging D code with GDB | |||
|---|---|---|---|
| |||
Be patient, you question will be answered eventually. Or ask on IRC, Slack or Discord... | |||
November 27, 2021 Learn » Re: Debugging D code with GDB | |||
|---|---|---|---|
| |||
...much better for debugging D programs. With GDB I've got many problems, don't... | |||
November 27, 2021 Debuggers » Debugging D code with GDB | |||
|---|---|---|---|
| |||
I've started a thread on this problem on #Learn: https://forum.dlang.org/post... | |||
November 27, 2021 GDC » Debugging D code with GDB | |||
|---|---|---|---|
| |||
I've started a thread on this problem on #Learn: https://forum.dlang.org/post... | |||
November 27, 2021 Learn » Debugging D code with GDB | |||
|---|---|---|---|
| |||
...of=test`) and open the binary with gdb (`gdb test`) and run the following type... | |||
November 18, 2021 Issues » [Issue 22524] New: DMD segfault after S.sizeof error | |||
|---|---|---|---|
| |||
...1] 85067 segmentation fault dmd segf.d gdb: Program received signal SIGSEGV, Segmentation fault. 0x0000555555a4627c... | |||
Copyright © 1999-2021 by the D Language Foundation