1. Disable watchdog on sp: set WatchdogActive to 0in HKLM/SOFTWARE/EMC/ManagementServer/Navishpere Express/WatchDog
2. kiss whatchdog in task manager.
3.use a script to point your clearcase view to the correct symbols????
========windbg command=====================
ctrl + break: to break into debugger
~*kbn displays stacks of all threads
~#n switch ocntext to given # thread
.frame # enter frame # in current thread
dv /i /t : display local variables of
bu `CIMOM.CPP:484`
bu NaviCimom!CIMOM::handleRequtest
bl(list) bd(disable) be(enable) bc(clear)
dt NAVString(shows how a class is laid out in memory)
dt NAVString 0x014bd054 (cast that address in given type)
dd (displays memory in 32 bit) dc(pls dd, also displays the bytes in ascii format) da (just displays memory as ascii f)
.logopen <FileName>
.logappend <FileName>
.logclose
windbg is great with tracing
void
NAVLog::log(const NAVString & who, const NAVString& what, etc.) // ingnor other parameters
bu Log!NAVLog::log ".printf /"CIMOMLog: %ma - %ms //n /", poi(poi(esp+0x4 ), poi(poi(esp+0x8 )); g; "
poi(poi( : dereference a reference. if not for reference, poi(esp+0x4) means the first variable
%ma print NULL terminated ascii strings
+0x4 the first parameter passed in when no return value
+0x8 the first parameter passed in when ther eis return value for this function.
-0x28, local variable
tracing exception
sxe(enable) -c "~kbn(print a stack trace); gn(continue with exception not handled);" eh(event code for a c++ exception, av/dz);