(Discussion about debugging ldc/x86-64 executables moved from digitalmars.D.announce)
Christian Kamm wrote: > can you try to make a breakpoint on the first line of your D main > function (i.e. b myfile.d:15) and run to that? (gdb) break test.d:5 Breakpoint 1 at 0x401e69: file test.d, line 5. (gdb) run Starting program: /home/timo/tmp/testd/test [Thread debugging using libthread_db enabled] [New Thread 0x7f0ce23146f0 (LWP 16164)] [Switching to Thread 0x7f0ce23146f0 (LWP 16164)] Breakpoint 1, D main (args={"/home/timo/tmp/testd/test"}) at test.d:5 5 for (int i = 0; i < args.length; i++) Current language: auto; currently d (gdb) step 7 Cout(args[i] ~ "\n"); (gdb) step 0x00000000004052e0 in _d_newarrayvT () Current language: auto; currently asm (gdb) step Single stepping until exit from function _d_newarrayvT, which has no line number information. 0x0000000000409ef0 in typeinfo.ti_Ag.TypeInfo_Aa.next() () Best regards and thanks, Timo