Hello, On Fri, May 15, 2009 at 04:02:11PM -0500, Michael Ekstrand wrote: > Attached is a patch for oUnit which does the following: > > - Augments RError and RFailure with an additional string option element > to store a backtrace. > - Adds code to test runner to store the backtrace in the result if > backtraces are enabled. > - Adds code to reporting to print backtraces with the error/failure > report. Is the backtrace functions not 3.11 specific ? If this is the case, it should be better to allow some kind of macro to enable/disable it to compile oUnit with at least OCaml 3.10. > - Modifies the Makefile to compile everything with -g (so stack traces > don't get lost in oUnit). > If you use -g in oUnit, you will get the backtrace from oUnit function ? or if you don't use -g you will loose all backtrace ? If you only lost oUnit backtrace, I think you should not enable -g for oUnit, since oUnit function is not very interesting for debugging. Thanks for your work Regards Sylvain Le Gall
Attachment:
signature.asc
Description: Digital signature