pjs/xpcom/tests/TestStackCrawl.cpp

15 строки
228 B
C++

#include <stdio.h>
#include "nsISupportsUtils.h"
#include "nsTraceRefCnt.h"
int main(int argc, char* argv[])
{
char buf[16384];
nsTraceRefcnt::WalkTheStack(buf, sizeof(buf));
printf("%s\n", buf);
return 0;
}