SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Comp. Search
Who's who?
Meetings
FAQ Homepage
Archive
Environment
Administration
New User Info.
Web Info/Tools
Monitoring
Training
Tools & Utils
Programming
C++ Standard
SRT, AFS, CVS
QA and QC
Remedy
Histogramming
Operations
PromptReco
Simulation Production
Online SW
Dataflow
Detector Control
Evt Processing
Run Control
Calibration
Databases
Offline
Workbook
Coding Standards
Simulation
Reconstruction
Prompt Reco.
BaBar Grid
Data Distribution
Beta & BetaTools
Kanga & Root
Analysis Tools
RooFit Toolkit
Data Management
Data Quality
Event display
Event Browser
Code releases
Databases
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

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.
  1. 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.)
  2. 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