* OCaml IDE (more advanced debugger features) @ 2005-06-20 20:07 Nathaniel J. Gaylinn 2005-06-21 9:54 ` [Caml-list] " Hendrik Tews 0 siblings, 1 reply; 3+ messages in thread From: Nathaniel J. Gaylinn @ 2005-06-20 20:07 UTC (permalink / raw) To: caml-list In playing with the debugger, two features which would be very useful to me came to mind, but I'm not sure if they're even possible with the OCaml debugger! Is there any way to see the return value of a function in the debugger? I can step to any point in the program with relative ease, and I can inspect the value of any variable in my program while executing it, but how can I see what a function has returned or is just about to return? Is it possible? It's a pain to to compute the return value in my head from the variables and keep track of it in later recursive calls. Also, is there a way to find which expression is about to be evaluated in the debugger? It's simple enough to know the character ocaml is about to progress to, but is there a way to see what specific expression (a range of text) the debugger is about to look into? Thanks, -- Nate Gaylinn ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] OCaml IDE (more advanced debugger features) 2005-06-20 20:07 OCaml IDE (more advanced debugger features) Nathaniel J. Gaylinn @ 2005-06-21 9:54 ` Hendrik Tews 2005-06-21 13:53 ` Nathaniel J. Gaylinn 0 siblings, 1 reply; 3+ messages in thread From: Hendrik Tews @ 2005-06-21 9:54 UTC (permalink / raw) To: caml-list "Nathaniel J. Gaylinn" <ngaylinn@cs.brown.edu> writes: Is there any way to see the return value of a function in the debugger? I Use *. (See 16.7 in the manual http://caml.inria.fr/pub/docs/manual-ocaml/manual030.html#htoc186) Bye, Hendrik ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Caml-list] OCaml IDE (more advanced debugger features) 2005-06-21 9:54 ` [Caml-list] " Hendrik Tews @ 2005-06-21 13:53 ` Nathaniel J. Gaylinn 0 siblings, 0 replies; 3+ messages in thread From: Nathaniel J. Gaylinn @ 2005-06-21 13:53 UTC (permalink / raw) To: Hendrik Tews; +Cc: caml-list On Tue, 21 Jun 2005, Hendrik Tews wrote: > "Nathaniel J. Gaylinn" <ngaylinn@cs.brown.edu> writes: > > Is there any way to see the return value of a function in the debugger? I > > Use *. > (See 16.7 in the manual > http://caml.inria.fr/pub/docs/manual-ocaml/manual030.html#htoc186) > > Bye, > > Hendrik > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > Thanks! I don't know how I missed that when looking through the docs. -- Nate ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-06-21 13:53 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-06-20 20:07 OCaml IDE (more advanced debugger features) Nathaniel J. Gaylinn 2005-06-21 9:54 ` [Caml-list] " Hendrik Tews 2005-06-21 13:53 ` Nathaniel J. Gaylinn
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox