netcoredbg icon indicating copy to clipboard operation
netcoredbg copied to clipboard

[Bug] Any method call on a enum gives `error: 0x80004005`

Open WhiteBlackGoose opened this issue 3 years ago • 3 comments

Hello. Thanks for this debugger!

Unfortunately, hitting an issue. I tried calling ToString, Equals, GetHashCode but getting strange and not very self-explanatory error.

See the screenshot.

With property

image

With local variable

image

WhiteBlackGoose avatar Sep 01 '22 18:09 WhiteBlackGoose

Hello,

error: 0x80004005 mean E_FAIL, some general error.

Please note, new evaluation code still in development, it much more powerful than old evaluation, but work still in progress. I found initial issue you are faced and preparing fix now (will fix ToString(), GetHashCode() and other System.Enum/System.Object related methods calls).

But, we still don't have implicit constructor calls and implicit cast code for args, so, for example Equals() and other methods with args may not work, also varadic and generic methods are not supported for now.

viewizard avatar Sep 02 '22 11:09 viewizard

Please note, new evaluation code still in development

:eyes: :eyes: :eyes: :eyes:

I'm already amazed that I found an MIT .net debugger that works, but there's much more features planned? Can't wait for it! :laughing: . Thanks so much for your work

WhiteBlackGoose avatar Sep 02 '22 11:09 WhiteBlackGoose

Partially fixed by https://github.com/Samsung/netcoredbg/commit/11e22bf37f3d38bdb7163316887322775fec56f2

viewizard avatar Sep 02 '22 15:09 viewizard