[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Patrick M Doane <patrick@w...> |
| Subject: | Re: [Caml-list] OCAMLRUNPARAM and backtraces |
This made things work, thanks!
Would some modification to byterun/backtrace.c like this help for future
users?
events = read_debug_info();
if (events == Val_false) {
if (backtrace_pos > 0) {
fprintf(stderr, "No debug information - please recompile with -g
option\n");
}
return;
}
Patrick
On Sat, 15 Sep 2001, Xavier Leroy wrote:
> > I'm wondering if anyone might have any ideas why setting OCAMLRUNPARAM to
> > include backtraces just doesn't work for me.
>
> You need to compile and link with ocamlc -g, otherwise the bytecode
> executable doesn't contain the required source<->code correspondence
> information.
>
> - Xavier Leroy
>
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr