#include <iomanip>
#include "typeprinter.h"
+#include "platform.h"
std::string EscapeMIValue(const std::string &str);
HRESULT GetModuleId(ICorDebugModule *pModule, std::string &id);
-std::string GetFileName(const std::string &path);
HRESULT GetFrameLocation(ICorDebugFrame *pFrame,
ULONG32 &ilOffset,
#include <list>
#include "typeprinter.h"
-
-std::string GetFileName(const std::string &path);
-
+#include "platform.h"
static const char *g_nonUserCode = "System.Diagnostics.DebuggerNonUserCodeAttribute..ctor";
return S_OK;
}
-std::string GetFileName(const std::string &path)
-{
- std::size_t i = path.find_last_of("/\\");
- return i == std::string::npos ? path : path.substr(i + 1);
-}
-
HRESULT TryLoadModuleSymbols(ICorDebugModule *pModule,
std::string &id,
std::string &name,
return pageSize;
}
+std::string GetFileName(const std::string &path)
+{
+ std::size_t i = path.find_last_of("/\\");
+ return i == std::string::npos ? path : path.substr(i + 1);
+}
+
void AddFilesFromDirectoryToTpaList(const std::string &directory, std::string &tpaList)
{
const char * const tpaExtensions[] = {
void AddFilesFromDirectoryToTpaList(const std::string &directory, std::string &tpaList);
std::string GetExeAbsPath();
std::string GetCoreCLRPath(int pid);
+std::string GetFileName(const std::string &path);