[C++-sig] Launch msvc debugger via bjam

David Abrahams dave at boost-consulting.com
Thu Mar 22 21:33:02 CET 2007


on Thu Mar 22 2007, John Reid <j.reid-AT-mail.cryst.bbk.ac.uk> wrote:

> David Abrahams wrote:
>> To make it easy on yourself, stick
>> 
>>   C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\VCExpress" /debugexe %*
>> 
>> in a .bat file, say dbg.bat
>> 
>> then,
>> 
>>   bjam --debugger=dbg.bat ...
>
> That is indeed a helpful idea as now I don't need to worry about 
> escaping '\'s and quoting ' 's but my real problem is that boost.build 
> just ignores the --debugger option. I get exactly the same output 
> whether it is there or not.
>
> Is this only a v1 feature? What should I do in v2?

In v2 it was helpfully renamed to "launcher".  So

   bjam launcher=dbg.bat

note it's now a feature and not an option, so there's no preceding
"--".

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com




More information about the Cplusplus-sig mailing list