./playground.py install -help Usage outdated and missing debug symbols with callgrind
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openWNS SDK |
Fix Committed
|
Medium
|
Karsten Klagges |
Bug Description
Since the last upgrade to SConstruct, playground.py install --help does not display the correct usage information how to build a binary for use with callgrind. It seems the correct syntax now is:
./playground.py install --flavour=opt --scons=
Otherwise, the config/options.py file can be modified (the callgrind=
Besides that, if callgrind=True is set, no debug symbols are included if the flavour is opt. As profiling with opt makes sense to me (it is the opt version that should run with optimal speed and profiling an unoptimized version makes profiling even slower), I would add the "-g" CXXFLAG for use with callgrind:
if env['callgrind']:
env.
Cheers
Jan
Related branches
Changed in openwns-sdk: | |
assignee: | nobody → Karsten Klagges (karsten.klagges) |
status: | New → Confirmed |
Changed in openwns-sdk: | |
importance: | Undecided → Medium |
status: | Confirmed → Fix Committed |