Ejemplo n.º 1
0
VOID
traced(
    CMD_ARGLIST
    )
{
    CMD_INIT();

    DumpTrace(0);
}
Ejemplo n.º 2
0
VOID
tracedr(
    CMD_ARGLIST
    )
{
    CMD_INIT();

    DumpTrace(1);
}
Ejemplo n.º 3
0
//this is the function which will dump everything at the last
void TraceManager::EndTrace()
{
	cerr<<"Tracing ended here"<<endl;
	//this doesnt do anything as of now
	bef_list.sort();
	aft_list.sort();
	list<RtnTrack*>::iterator it1,it2;
	it2=aft_list.begin();
	for(it1=bef_list.begin();it1!=bef_list.end();it1++)
	{
		if(it2!=aft_list.end())
		{
			cerr<<*it2;
			it2++;
		}
	}
	DumpTrace();
}
Ejemplo n.º 4
0
VOID
dt(
    IN HANDLE CurrentProcess,
    IN HANDLE CurrentThread,
    IN DWORD CurrentPc,
    IN PWINDBG_EXTENSION_APIS ExtensionApis,
    IN LPSTR ArgumentString
    )
/*++

Routine Description:

    This function toggle whether debug exception are reflected to the debugger,
    or the Vdm.  This function has no useful purpose on Mips.

Arguments:

    CurrentProcess -- Supplies a handle to the current process
    CurrentThread -- Supplies a handle to the current thread
    CurrentPc -- Supplies the current program counter. (may be meaningless)
    ExtensionApis -- Supplies pointers to ntsd support routines
    ArgumentString -- Supplies the arguments passed to the command

Return Value:

    None.

--*/
{
    UNREFERENCED_PARAMETER(CurrentPc);

    SETUP_WINDBG_POINTERS(ExtensionApis);
    DumpTrace(
        CurrentProcess,
        CurrentThread,
        ArgumentString,
        0
        );

}