On Tue, 24 Oct 2023, Jeffrey Walton via curl-library wrote:
Maybe someone can comment on using gdb to debug a particular codepath in the
library from the test suite.
It's very simple:
cd tests
./runtests.pl -g [num]
... and it'll fire up gdb for you running the test case.
--
/ daniel.ha
Very helpful, thanks!
Jeffrey Walton said:
> Since you mentioned debugging, I'm not sure if you are trying to run a
particular test under gdb or similar.
I'm not (currently) trying to run under gdb. I just meant debugging in the
general sense of "what's wrong with this test." Though I may wind up
On 10/24/2023 1:56 PM, Jacob Hoffman-Andrews via curl-library wrote:
I often have trouble efficiently debugging curl tests, and I wanted
to ask if I'm doing it wrong, and/or if there are improvements possible.
My workflow is like this: If I notice a set of tests are failing, I
will usually run
On Tue, Oct 24, 2023 at 1:56 PM Jacob Hoffman-Andrews via curl-library
wrote:
>
> I often have trouble efficiently debugging curl tests, and I wanted to ask if
> I'm doing it wrong, and/or if there are improvements possible.
>
> My workflow is like this: If I notice a set of tests are failing, I