Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-02-09 03:20:28

David Abrahams wrote:
> I've been trying to debug a problem with filter_iterator_test on
> WinXP64, and I'm finding something disturbing. The test crashes, and
> when it does, I get a "do you want to debug?" dialog, and when I click
> "No," I get a **passed** message.

I'd say that's a "feature" of the JIT debugger, rather than any problem with
the testing rule. The debugger is invoked automatically, and when the user
says "No", the debuggee looks like it returns a success status instead of
some failure status. Try disabling JIT debugging to get rid of the "do you
want to debug?" messages altogether.

IIRC, when you really want to debug, try using the testing.launcher flag,
e.g. "testing.launcher=\"devenv /debugexe\"" or whatever your favorite
symbolic debugger is. This should at least work if you are using the
unit-test rule.

But I guess you already knew most of that stuff anyway ...

HTH / Johan

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at