|
|
FAQ Answerpage
QUESTION:
How do I debug on Solaris?
ANSWER:
The Solaris builds of the BaBar reconstruction are being built with debugging symbols and the executables are not stripped, unlike on other platforms. This greatly facilitates debugging of BaBar code, but you may find two problems.
- Where's the debugger?
dbx is in /opt/SUNWspro/bin
(SLAC also provides this as /usr/local/bin/dbx, but the path above is the normal place.)
- The symbols point to the wrong place because we copy the output of the build. To fix this, give the following command after starting dbx:
pathmap /u1/drjohn/bfdist /afs/slac/g/babar/dist
The first string just specifies the symbol that is in the file and the second is where the actual installed code is. So, if you install outside of AFS, you could also do:
pathmap /u1/drjohn/bfdist /tape/babar/dev/dist
For example. dbx will then apply this transformation to all of the symbols it finds.
(Last updated 7/27/98)
[ SLAC Homepage] [Search] [FAQ Homepage]
If you have a FAQ (with or WITHOUT an answer), use our prototype submission form.
If you have comments or suggestions, email me at sison@slac.stanford.edu
|
|