From: Joel Reymont <joelr1@gmail.com>
To: caml-list@inria.fr
Subject: [Caml-list] debugging c wrappers
Date: Fri, 4 May 2012 21:56:51 +0100 [thread overview]
Message-ID: <CAOQwdX2tiD3U0urR_x61RLUVwAbiFqRV9dbEEabM2nKWFtA0gw@mail.gmail.com> (raw)
How do I look inside the values in C functions called from OCaml when
running in gdb?
I swear there's a way but I don't remember it now.
For example, I want to check if a particular value is a variant
constructor and whether its first argument is a closure.
Help!
--------------------------------------------------------------------------
Working on AlgoKit, a new algorithmic trading platform using Rithmic R|API
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------
next reply other threads:[~2012-05-04 20:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-04 20:56 Joel Reymont [this message]
2012-05-04 22:28 ` Wojciech Meyer
2012-05-05 12:16 ` Goswin von Brederlow
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOQwdX2tiD3U0urR_x61RLUVwAbiFqRV9dbEEabM2nKWFtA0gw@mail.gmail.com \
--to=joelr1@gmail.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox