Mono.Debugger.Soft/InvokeOptions.cs
Mono.Debugger.Soft/IInvokeAsyncResult.cs
Mono.Debugger.Soft/ITargetProcess.cs
-
+Mono.Debugger.Soft/AbsentInformationException.cs
--- /dev/null
+using System;
+
+namespace Mono.Debugger.Soft
+{
+ public class AbsentInformationException : Exception {
+
+ public AbsentInformationException () : base ("Debug information is not available for this frame.") {
+ }
+ }
+}
+2010-05-07 Zoltan Varga <vargaz@gmail.com>
+
+ * VirtualMachine.cs (ErrorHandler): Convert ABSENT_INFORMATION to
+ AbsentInformationException.
+
+ * AbsentInformationException.cs: New file.
+
2010-04-30 Zoltan Varga <vargaz@gmail.com>
* TypeMirror.cs: Add new overload for GetSourceFiles () which returns full paths.
NOT_SUSPENDED = 101,
INVALID_ARGUMENT = 102,
ERR_UNLOADED = 103,
- ERR_NO_INVOCATION = 104
+ ERR_NO_INVOCATION = 104,
+ ABSENT_INFORMATION = 105
}
public class ErrorHandlerEventArgs : EventArgs {
throw new InvalidOperationException ("The vm is not suspended.");
case ErrorCode.NOT_IMPLEMENTED:
throw new NotSupportedException ("This request is not supported by the protocol version implemented by the debuggee.");
+ case ErrorCode.ABSENT_INFORMATION:
+ throw new AbsentInformationException ();
default:
throw new CommandException (args.ErrorCode);
}