diff options
author | David Karlaš <david.karlas@xamarin.com> | 2014-08-27 01:15:50 +0400 |
---|---|---|
committer | David Karlaš <david.karlas@xamarin.com> | 2014-08-27 01:15:50 +0400 |
commit | cfa0527a14cff11e22b808d53cae2172bfc7838a (patch) | |
tree | 96e40d02e63edbd43799600d644445f8726fa61f /main/src/addins/MonoDevelop.Debugger.Win32 | |
parent | 798af87bc105d51d89e81096def2d057c4d5c4d4 (diff) |
[Win32Debugger] Fixed condtional breakpoint when comparing numbers
Diffstat (limited to 'main/src/addins/MonoDevelop.Debugger.Win32')
-rw-r--r-- | main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs b/main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs index 5caa63f289..23dd037508 100644 --- a/main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs +++ b/main/src/addins/MonoDevelop.Debugger.Win32/MonoDevelop.Debugger.Win32/CorObjectAdaptor.cs @@ -64,6 +64,8 @@ namespace MonoDevelop.Debugger.Win32 public override bool IsEnum (EvaluationContext ctx, object val)
{
+ if (!(val is CorValRef))
+ return false;
CorType type = (CorType) GetValueType (ctx, val);
return IsEnum (ctx, type);
}
|