Kayaker
September 3rd, 2002, 06:56
There's a Softice command that has very little information about it - SIWTR. It seems to be a Trace Buffer that you can turn on and off. The SI command line help is little use:
:h siwtr
ce buffer (don't know why it's called this in the status bar)
SIWTR [name | handle] [ON | OFF]
ex: SIWTR tb-name ON
:siwtr
Handle Name State
0000: SIW95 ON
----------------
At the beginning of the procedure handling the SIWTR command in winice.exe are 3 error strings which give a little more information about the command:
:C00B0364 aOnlyNamedTraceBuffersCanBeTurnedOnOff db 'Only named trace buffers can be turned on/off',0
:C00B0394 aInvalidTraceBufferHandleX db 'Invalid trace buffer handle: %x',0
:C00B03B4 aErrorDisplayingTraceBuffer db 'error displaying trace buffer',0
...
:C00B03D2 sub_0_C00B03D2 ; Beginning of main SIWTR procedure
Within the long routine are potential calls to other error strings defined at the end of the proc:
:C00B060C aHandleNameState db 'Handle',9,'Name',9,'State',0
:C00B0620 aBufferHandleXIsNotInUse db 'buffer handle: %x, is not in use',0
:C00B0644 aInvalidTraceBufferParameterS db 'Invalid trace buffer parameter: %s',0
:C00B0668 aUnexpectedParameterS db 'unexpected parameter: %s',0
:C00B0684 aExpectingOnOffNotS db 'expecting on/off, not %s',0
:C00B06A0 aUnknownOptionS db 'unknown option: %s',0
:C00B06B8 aSystemMemoryAllocatedForSBase0xXSizeDk db 'System Memory allocated for %s: base=0x%x, size=%dk',0
:C00B06F0 aScopeTableInaccessible db 9,'(scope table inaccessible)',0
---------------------------------------------
There are the backtrace and the history buffers, defined in winice.dat, and likely several internal ones, but I can't figure what this one might be used for. Turning the state of the buffer called "SIW95" ON or OFF doesn't seem to affect the behavior of the Backtrace buffer or its trace mode, breakpoints and tracing remain normal, I'm not sure what else to check.
This may be a remanent of an earlier version of SI, or some debugging function or something, but I've been able to find no references whatsoever about it. It's likely one of these virtually undocumented Softice commands, but I just thought someone may have come upon it before or has any ideas what it might refer to.
Thanks,
Kayaker
:h siwtr
ce buffer (don't know why it's called this in the status bar)
SIWTR [name | handle] [ON | OFF]
ex: SIWTR tb-name ON
:siwtr
Handle Name State
0000: SIW95 ON
----------------
At the beginning of the procedure handling the SIWTR command in winice.exe are 3 error strings which give a little more information about the command:
:C00B0364 aOnlyNamedTraceBuffersCanBeTurnedOnOff db 'Only named trace buffers can be turned on/off',0
:C00B0394 aInvalidTraceBufferHandleX db 'Invalid trace buffer handle: %x',0
:C00B03B4 aErrorDisplayingTraceBuffer db 'error displaying trace buffer',0
...
:C00B03D2 sub_0_C00B03D2 ; Beginning of main SIWTR procedure
Within the long routine are potential calls to other error strings defined at the end of the proc:
:C00B060C aHandleNameState db 'Handle',9,'Name',9,'State',0
:C00B0620 aBufferHandleXIsNotInUse db 'buffer handle: %x, is not in use',0
:C00B0644 aInvalidTraceBufferParameterS db 'Invalid trace buffer parameter: %s',0
:C00B0668 aUnexpectedParameterS db 'unexpected parameter: %s',0
:C00B0684 aExpectingOnOffNotS db 'expecting on/off, not %s',0
:C00B06A0 aUnknownOptionS db 'unknown option: %s',0
:C00B06B8 aSystemMemoryAllocatedForSBase0xXSizeDk db 'System Memory allocated for %s: base=0x%x, size=%dk',0
:C00B06F0 aScopeTableInaccessible db 9,'(scope table inaccessible)',0
---------------------------------------------
There are the backtrace and the history buffers, defined in winice.dat, and likely several internal ones, but I can't figure what this one might be used for. Turning the state of the buffer called "SIW95" ON or OFF doesn't seem to affect the behavior of the Backtrace buffer or its trace mode, breakpoints and tracing remain normal, I'm not sure what else to check.
This may be a remanent of an earlier version of SI, or some debugging function or something, but I've been able to find no references whatsoever about it. It's likely one of these virtually undocumented Softice commands, but I just thought someone may have come upon it before or has any ideas what it might refer to.
Thanks,
Kayaker