SICSdebug

Search SINQ Wiki:
SINQ LIN

SINQ Wiki
- Main Page
- Search SINQ Wiki
- Sample Environment
- Probenumg. Intern
- Troubleshooting SICS

This Page
- Page Info
- Printer Friendly

Referenced by
SICSTrouble

Wiki Info
- Unused pages
- Undefined pages
- RecentChanges
- Page Index
- System Info
- JSPWiki Docu
- SandBox
- OneMinuteWiki
- Create a New Page




JSPWiki v2.0.52


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:

  1. Login to the instrument account
  2. cd into inst_sics
  3. monit stop sicsserver, to stop the sicsserver
  4. Get an AFS token with klog yourusername
  5. To look at core files: ../sicscommon/debsics core.xxxxx where xxx is the number of the core file
  6. To debug SICS: ../sicscommon/debsics
  7. Set your breakpoints or whatever
  8. 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.