On Sat, Jun 7, 2014 at 12:05 PM, Tom Browder <tom.brow...@gmail.com> wrote: > On Sat, Jun 7, 2014 at 11:26 AM, Jacob Carlborg via Digitalmars-d > <digitalmars-d@puremagic.com> wrote: ... >> There's already a tool for that [1]. It uses the JSON output from the >> compiler. >> >> [1] https://github.com/D-Programming-Language/tools/blob/master/dtoh.d ...
And Jacob, when I try your dstep on a header preprocessed with gcc -E I don't get very far: dstep.core.Exceptions.DStepException@dstep/core/Exceptions.d(13): An unknown error occurred ---------------- dstep(void dstep.driver.Application.Application.run()+0x102) [0x55d09e] dstep(int dstack.application.Application.Application.debugStart()+0x17) [0x56f9df] dstep(int dstack.application.Application.Application._start()+0x15) [0x56f94d] dstep(int dstack.application.Application.Application.start!(dstep.driver.Application.Application).start(immutable(char)[][])+0x41) [0x55fd85] dstep(_Dmain+0x4f) [0x55fe13] dstep(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll().void __lambda1()+0x18) [0x5926a8] dstep(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x592602] dstep(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()+0x30) [0x592668] dstep(void rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).tryExec(scope void delegate())+0x2a) [0x592602] dstep(_d_run_main+0x1a3) [0x592583] dstep(main+0x25) [0x55fe41] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd) [0x7fe259446ead] Best, -Tom