Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ICSharpCode Decompiler DecompilerException on dnspy net8 of 28 April 2024 #321

Closed
Deltafox79 opened this issue Apr 29, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Deltafox79
Copy link

Deltafox79 commented Apr 29, 2024

dnSpyEx version

6.5.0 NET 8

Describe the Bug

ICSharpCode.Decompiler.DecompilerException

How To Reproduce

Just Open a dll

Bug is not present on net4.8 Framework...

Expected Behavior

[XmlElement(Namespace = "http://schemas.datacontract.org/2004/07/System")]
public byte _XXX
{
get
{
....
}
set
{
....
}
}

Actual Behavior

[XmlElement(Namespace = "http://schemas.datacontract.org/2004/07/System")]
public byte _XXX
{
get
{
/*
An exception occurred when decompiling this method (060001C5)

ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte ......

---> System.InsufficientExecutionStackException: Insufficient stack to continue executing the program safely. This can happen from having too many functions on the call stack or function on the stack using too much stack space.
at ICSharpCode.Decompiler.StackOverflow.Prevent()
.....
*/;

Additional Context

No response

@Deltafox79 Deltafox79 added the bug Something isn't working label Apr 29, 2024
@ElektroKill
Copy link
Member

Oh my! I made a terrible typo in commit 518fa2f.

The if statement in the ICSharpCode.Decompiler project and the if statement in the debugger projects should be inverted. (They are missing a !) I can’t believe I missed this.

I’m currently away from home without a pc for a week so I will see what i can do using a mobile iOS device 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants