caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Dmitry Bely <dmitry.bely@gmail.com>
To: matthieu.dubuget@gmail.com
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Is it possible to debug (multithreaded) lablgtk2  apps?
Date: Tue, 9 Jun 2009 15:14:17 +0400	[thread overview]
Message-ID: <90823c940906090414m714ab8b5o128c329133516618@mail.gmail.com> (raw)
In-Reply-To: <4A2E0C91.3010209@gmail.com>

On Tue, Jun 9, 2009 at 11:17 AM, Matthieu
Dubuget<matthieu.dubuget@gmail.com> wrote:
> Hello,
>
> I'm trying to use camldebug. But I'm afraid I'm accumulating difficulties:
>
> - under mingw
> - lablgtk2 + multithreaded app

Ocaml Win32/MSVC+camldebug+OcaIDE - works for me (single-threaded
lablgtk2 application, but I don't think multiple threads are the real
problem).

> With a very simple app, the programs run and works once started from
> camldebug (from emacs), but my breakpoints are ignored.

Can you try to set a breakpoint  directly from camldebug? I am afraid
emacs could introduce some line ending inconsistency and so
incorrectly calculate the place.

> With the more complex app I wanted to work on, the IHM is never shown.
>
> I think that I will revert to the good old Printf method.

It's up to you but first I would try to find out why it does not work.

- Dmitry Bely


  reply	other threads:[~2009-06-09 11:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-09  7:17 Matthieu Dubuget
2009-06-09 11:14 ` Dmitry Bely [this message]
2009-06-09 13:37   ` [Caml-list] " Matthieu Dubuget

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=90823c940906090414m714ab8b5o128c329133516618@mail.gmail.com \
    --to=dmitry.bely@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=matthieu.dubuget@gmail.com \
    /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;
as well as URLs for NNTP newsgroup(s).