gecko-dev/xpcom/tests/TestStackCrawl.cpp
1999-08-18 04:53:51 +00:00

15 lines
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;
}