3 ms·
> I'm not sure if anyone is working on making OCaml better to debug in gdb Mark Shinwell is working on just this; he has a very impressive branch of OCaml whic
by avsm 12y ago
> I'm not sure if anyone is working on making OCaml better to debug in gdb
Mark Shinwell is working on just this; he has a very impressive branch of OCaml which can do OCaml-level source backtraces in gdb; WIP tree is here for anyone who wants to glance at the patches: https://github.com/mshinwell/ocaml/compare/ocaml:4.02...4.02-gdb https://github.com/mshinwell/ocaml/compare/ocaml:4.02...4.02...
Also a nice talk from a couple of years ago by him on some tips and tricks for using gdb/OCaml: https://www.youtube.com/watch?v=NF2WpWnB-nk https://www.youtube.com/watch?v=NF2WpWnB-nk
- ptc 12y agoThanks for the links, I'll have to take a look at that gdb/OCaml debugging video. Might as well dive into the OCaml internals a bit too. I just really wish OCaml would move to a fully threaded execution model instead of forcing evented systems on everyone.