1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-18 16:10:26 +02:00

Changes to improve IDE Module Panel, allowing loading image and pdb

This commit is contained in:
Brian Fiete 2019-09-27 13:05:39 -07:00
parent d41a8c5683
commit bac46ef6e9
10 changed files with 124 additions and 41 deletions

View file

@ -328,6 +328,9 @@ namespace IDE.Debugger
[StdCall,CLink]
static extern bool Debugger_HasPendingDebugLoads();
[StdCall,CLink]
static extern int32 Debugger_LoadImageForModuleWith(char8* moduleName, char8* imageFileName);
[StdCall,CLink]
static extern int32 Debugger_LoadDebugInfoForModule(char8* moduleName);
@ -1089,6 +1092,11 @@ namespace IDE.Debugger
return Debugger_LoadDebugInfoForModule(moduleName);
}
public int32 LoadImageForModule(String moduleName, String debugFileName)
{
return Debugger_LoadImageForModuleWith(moduleName, debugFileName);
}
public int32 LoadDebugInfoForModule(String moduleName, String debugFileName)
{
return Debugger_LoadDebugInfoForModuleWith(moduleName, debugFileName);