Boost logo

Boost Testing :

From: Douglas Gregor (doug.gregor_at_[hidden])
Date: 2005-04-30 10:14:29


On Apr 30, 2005, at 3:06 AM, Victor A. Wagner Jr. wrote:

> At Friday 2005-04-29 20:39, you wrote:
>
>> On Apr 29, 2005, at 1:55 PM, Victor A. Wagner Jr. wrote:
>>>
>>> http://tinyurl.com/dcsgb
>>>
>>>
>>> shows an error that should be trivial to find (and I'd get to
>>> practice with the new beta).
>>> Unfortunately, I can't figure out how to build and run the test
>>> under the debugger.
>>> I get missing symbols from the test framework.... any help would be
>>> appreciated.
>>
>> For debugging, you should probably comment out the line in
>> libs/graph/build/Jamfile that starts with:
>>
>> <debug-symbols>off
>>
>> Then rebuild the graphviz_test. Thanks for looking into this!
>
> I'm trying to figure out how to build it at all, and after I do, how
> to get the debugger to grab onto it.

After commenting out that <debug-symbols>off line, you should be able
to just run

   bjam -sTOOLS=vc-8_0 graphviz_test

from libs/graph/test. It'll run the test, fail miserably, then it
should leave the executable around for debugging, which should work
fine in the normal debugger.

        Doug


Boost-testing list run by mbergal at meta-comm.com