[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: mingw test failures

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Tue, 13 Oct 2009 17:02:47 +0100

On Mon, 2009-10-12, Martin Hauner wrote:
> My question is how do I debug svn inside the python tests?
>
> I tried to replace the svn binary (svn_binary in svntest/main.py) with a script
> that calls gdb. But that doesn't seem to work. It just stops and I don't get a
> gdb prompt although gdb is running (I can see it in the task mananger).

Martin,

What I usually do is edit the Python test, insert a "raise" statement
just before the line that runs the "svn" command that fails, then re-run
the test with "--no-cleanup" mode (so it does all the preparation and
then stops), and then manually run the required next command with GDB
(copying and pasting the parameters from the output of the test run that
failed).

It's not really neat, I know, but it works.

(In your attempt, I guess GDB's stdin/stdout were not connected to the
console.)

- Julian

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2407175
Received on 2009-10-13 22:57:56 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.