Boost logo

Boost-Build :

Subject: Re: [Boost-build] Debugger for Jam
From: Ryan (rymg19_at_[hidden])
Date: 2015-03-21 21:43:34


YESSSSSSSS!!!!! Boost.Build very much needs this!

Will it pause on an error, like other debuggers?

Steven Watanabe <watanabesj_at_[hidden]> wrote:
>AMDG
>
>I've just started implementing a debugger for Boost.Build
>in the debug branch. Here's a sample session (I've
>trimmed the output down quite a bit). Thoughts?
>
>$ b2.exe
>(b2db) break msvc.init
>(b2db) run --with-system -n -d1
>Starting program: ...\b2.exe --with-system -n -d1
>Breakpoint 1, msvc.init ( 12.0 ) at ...\msvc.jam:149
>149 if $(command)
>(b2db) print $(command)
>
>(b2db) print $(version)
>12.0
>(b2db) backtrace
>#0 in msvc.init ( 12.0 ) at ...\msvc.jam:149
>#1 in toolset.using ( msvc : 12.0 ) at ...\toolset.jam:43
>#2 in using ( msvc : 12.0 ) at ...\project.jam:1026
>#3 in modules.load ( user-config : user-config.jam : ... ) at
>...\user-config.jam:1
>#4 in load-config ( user-config : user-config.jam : ... ) at
>...\build-system.jam:249
>#5 in load-configuration-files ( ) at ...\build-system.jam:389
>#6 in load ( build-system : : ... ) at ...\build-system.jam:524
>#7 in import ( build-system ) at ...\modules.jam:289
>#8 in boost-build ( tools/build/src ) at .../bootstrap.jam:139
>#9 in module scope at ...\boost-build.jam
>:17
>(b2db) step
>153 configure $(version) : $(options) ;
>(b2db) step
>163 switch $(version)
>(b2db) step
>201 configure-really $(version) : $(options) ;
>(b2db) step
>859 local v = $(version) ;
>(b2db) step
>862 if ! $(v)
>(b2db) print $(v)
>12.0
>(b2db) step
>875 version = [ resolve-possible-msvc-version-alias $(version)
>] ;
>(b2db) next
>878 if $(version) in [ $(.versions).used ]
>(b2db) finish
>Breakpoint 1, msvc.init ( 11.0 ) at ...\msvc.jam:149
>149 if $(command)
>(b2db) continue
>Breakpoint 1, msvc.init ( 10.0express ) at ...\msvc.jam:149
>149 if $(command)
>(b2db) continue
>Breakpoint 1, msvc.init ( 9.0express ) at ...\msvc.jam:149
>149 if $(command)
>(b2db) continue
>Breakpoint 1, msvc.init ( ) at ...\msvc.jam:149
>149 if $(command)
>(b2db) continue
>Performing configuration checks
>
> - 32-bit : yes (cached)
> - arm : no (cached)
> - mips1 : no (cached)
> - power : no (cached)
> - sparc : no (cached)
> - x86 : yes (cached)
>
>Building the Boost C++ Libraries.
>
>
> - symlinks supported : no (cached)
> - junctions supported : yes (cached)
> - hardlinks supported : yes (cached)
>
>Component configuration:
>
> - atomic : not building
> - chrono : not building
> - ... : not building
> - system : building
>
>...found 267 targets...
>...updating 6 targets...
>common.copy stage\lib\libboost_system-vc120-mt-gd-1_58.lib
>common.mkdir
>bin.v2\libs\system\build\msvc-12.0\release\address-model-32\architecture-x86\link-static
>common.mkdir
>bin.v2\libs\system\build\msvc-12.0\release\address-model-32\architecture-x86\link-static\threading-multi
>compile-c-c++
>bin.v2\libs\system\build\msvc-12.0\release\address-model-32\architecture-x86\link-static\threading-multi\error_code.obj
>msvc.archive
>bin.v2\libs\system\build\msvc-12.0\release\address-model-32\architecture-x86\link-static\threading-multi\libboost_system-vc120-mt-1_58.lib
>common.copy stage\lib\libboost_system-vc120-mt-1_58.lib
>...updated 6 targets...
>
>
>The Boost C++ Libraries were successfully built!
>
>The following directory should be added to compiler include paths:
>
> C:\Users\Steven\Documents\boost\boost-git
>
>The following directory should be added to linker library paths:
>
> C:\Users\Steven\Documents\boost\boost-git\stage\lib
>
>Child 3544 exited with status 0
>(b2db) quit
>
>$
>
>In Christ,
>Steven Watanabe
>
>_______________________________________________
>Unsubscribe & other changes:
>http://lists.boost.org/mailman/listinfo.cgi/boost-build

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Check out my website: http://kirbyfan64.github.io/



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk