ldc-developers/ldc — Issue #87: ldc debuging with gdb when using std.stdio.File
Author: bioinfornatics
Created: 2012-03-06 23:20:51+00:00
State: open

dear,

Each time when i use std.stdio.File gdb print a message and i can't show the line.

```

25	File f1 = File(bedOutFilePath, "w");
(gdb) n
26	/home/jonathan/Projets/dscience/examples/parser/.: No such file or directory.
in /home/jonathan/Projets/dscience/examples/parser/.
(gdb)
27	in /home/jonathan/Projets/dscience/examples/parser/.
(gdb)
28	in /home/jonathan/Projets/dscience/examples/parser/.
```

they are no problem about io on the file. you can try:

```d
import std.stdio;
import std.string;

void main(){
File f = File("myFile", "w");
f.writeln( "something" );
f.close();
}
```

build this:

```
* ldc2 -g test.d
```

and debug:

```
$ gdb -q ./test
> r
> b 5
> n
6	/home/jonathan/.: Aucun fichier ou dossier de ce type.
in /home/jonathan/.
```