Fire30
Seasoned Member
I am creating trying to debug an application, but I can not seem to compile this code even though I am trying to use it the same way that the documentation does.
The error I am getting is
Error 1 'XDevkit.IXboxConsole' does not contain a definition for 'OnStdNotify' and no extension method 'OnStdNotify' accepting a first argument of type 'XDevkit.IXboxConsole' could be found (are you missing a using directive or an assembly reference?)
Here is the code I am using:
Could it be that I am using a fairly old sdk? All I could find was the 2011 August sdk.
The error I am getting is
Error 1 'XDevkit.IXboxConsole' does not contain a definition for 'OnStdNotify' and no extension method 'OnStdNotify' accepting a first argument of type 'XDevkit.IXboxConsole' could be found (are you missing a using directive or an assembly reference?)
Here is the code I am using:
Code:
using XDevkit;
//stuff
// ...
//now we are in main
IXboxManager xboxMgr = new XboxManager();
IXboxConsole xbCon = xboxMgr.OpenConsole(xboxMgr.DefaultConsole);
var Address = 0x8906F378;
xbCon.DebugTarget.SetBreakpoint(Address);
xbCon.OnStdNotify += (EventType, EventInfo) =>
{
if (EventType != XboxDebugEventType.ExecutionBreak || eventInfo.Info.Address != Address) return;
// stuff that does not matter
}
Could it be that I am using a fairly old sdk? All I could find was the 2011 August sdk.
Last edited: