Article # 155, added by Geoworks, historical record
| first | previous | index | next | last |

How to set breakpoints in foam library routines.



Q. Why won't swat let me switch to the foam library thread?  I'm trying
   to break in one of the foam routines (FoamGetFreeDiskSpace), but swat
   says that "foam has no current frame" or "illegal address".

A. Don't try to switch to the foam thread, since there is none.
   You can set the breakpoint like this (by specifying the library):

	brk foam::FoamGetFreeDiskSpace

   or by setting "sym-default foam" and then setting the break point 
   normally: "brk FoamGetFreeDiskSpace"