pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] gdb breakpoints in scripts?


From: Aleksander Morgado
Subject: Re: [pdf-devel] gdb breakpoints in scripts?
Date: Tue, 09 Feb 2010 23:40:34 +0100

> > Thus, this is not a good method to follow if you want to debug test #300, as
> > you may need to do it 300 times.
> How are you guys debugging routines? Do you have a small test harness
> that links against the lib after a 'make install'? I ask because I
> found the test program using libgnupdf the easiest for my limited
> skill set. But using libgnupdf may change things enough so that former
> problems no longer appear.
> 

I used to use the built-in check support in libgnupdf ('no-check') for
most of my tests, as that was never forking the test cases, so could
debug all suites and cases with GDB in the same process. Now you can get
the same result using the check library and CK_FORK=no envvar.

Cheers,
-Aleksander





reply via email to

[Prev in Thread] Current Thread [Next in Thread]