Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
Reporter Class Reference

List of all members.

Public Member Functions

 ~Reporter ()

Detailed Description

Definition at line 76 of file trace.cpp.


Constructor & Destructor Documentation

Definition at line 339 of file trace.cpp.

{
    SymInitialize(GetCurrentProcess(), 0, TRUE);
    
    DWORD options = SymGetOptions();

    // We want the nasty name, as we'll have to pass it back to the
    // linker.
    options &= ~SYMOPT_UNDNAME;
    SymSetOptions(options);

    char logName[MAX_PATH];
    strcpy(logName,MOZ_SRC);
    strcat(logName,"\\tracelog");
    logfile = fopen(logName,"w");

    // break the function names out by module and sort them.
    PL_DHashTableEnumerate(&Calls, ListCounts, NULL);
    // dump the order files for each module.
    PL_DHashTableEnumerate(&Modules, DumpFiles, NULL);

    fclose(logfile);
    SymCleanup(GetCurrentProcess());
}

Here is the call graph for this function:


The documentation for this class was generated from the following file: