// ---------------------------------------------------------------------------------------------- // Copyright (c) Mattias H�gstr�m. // ---------------------------------------------------------------------------------------------- // This source code is subject to terms and conditions of the Microsoft Public License. A // copy of the license can be found in the License.html file at the root of this distribution. // If you cannot locate the Microsoft Public License, please send an email to // dlr@microsoft.com. By using this source code in any fashion, you are agreeing to be bound // by the terms of the Microsoft Public License. // ---------------------------------------------------------------------------------------------- // You must not remove this notice, or any other, from this software. // ---------------------------------------------------------------------------------------------- #pragma once using namespace System; BOOL InitSymbolLookup(HANDLE currentProcess, const char* searchPath); std::string AnnotateStack(HANDLE currentProcess, DWORD64 addr64); void DumpStackTrace(); void DumpStackTrace(DWORD pId); namespace MixedStackTraceLibrary { public ref class StackWalk64Trace { public: static void DumpStackTrace() { ::DumpStackTrace(); } static void DumpStackTrace(int pId) { DWORD dwPId = static_cast<DWORD>(pId); ::DumpStackTrace(dwPId); } }; }
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)