Debugging SICS at the Instrument
When you are here, you wish to debug the SICS C-code at the instrument. Look at core files,
run gdb and such. This works like this:
- Login to the instrument account
- cd into inst_sics
- monit stop sicsserver, to stop the sicsserver
- Get an AFS token with klog yourusername
- To look at core files: ../sicscommon/debsics core.xxxxx where xxx is the number of the core file
- To debug SICS: ../sicscommon/debsics
- Set your breakpoints or whatever
- Within gdb run: run inst.tcl
The background is that debsics sets directory paths such that gdb can find source files. This currently
points to /afs/psi.ch/project/sinqdev/mksics. This assumes that with your AFS user name you at least
have read rights there.
If this does not suit you, make your own version of debsics using the supplied version as a template.
Printer Friendly
Page Info
This page last changed on 10-Jul-2014 14:21:51 UTC by MarkKoennecke.
|