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

断点条件表达式。修复调试器若干问题。 #677

Merged
merged 1 commit into from
Mar 25, 2022

Conversation

Endures
Copy link
Contributor

@Endures Endures commented Mar 22, 2022

修复:
1.支持断点禁用状态
2.修正断点命中时,非顶层堆栈层次无法查看成员变量值的问题
3.修正断点命中时,无法查看适配器类型(ILRuntime.Runtime.Enviorment.CrossBindingAdaptorType)的变量的CLR成员的值
4.支持自定义索引器重载
功能限制:
1.暂不支持以下运算符:++、--、x??y、as、check、uncheck、default、is、nameof、new、sizeof、typeof
2.暂不支持用户定义转换运算符(implicit、explicit)
3.数学运算符,逻辑运算符与比较大小运算符不支持AOT
4.不支持扩展方法
5.暂不支持命名空间

@liiir1985 liiir1985 merged commit a12877e into Ourpalm:master Mar 25, 2022
using System;
using ILRuntime.Runtime.Debugger.Protocol;
using ILRuntime.Runtime.Intepreter;
using Microsoft.CodeAnalysis.CSharp.Syntax;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这块在ILRuntime运行时的工程引入了对Rosyln的强引用,会导致没rosyln的unity无法编译成功,在ILRuntime的运行时工程中能否去掉对Rosyln的依赖

using ILRuntime.Reflection;
using ILRuntime.Runtime.Debugger.Protocol;
using ILRuntime.Runtime.Intepreter;
using Microsoft.CodeAnalysis;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这块在ILRuntime运行时的工程引入了对Rosyln的强引用,会导致没rosyln的unity无法编译成功,在ILRuntime的运行时工程中能否去掉对Rosyln的依赖

@liiir1985
Copy link
Collaborator

在SharedEngine的Expression里有个我自己写的c#表达式解析器,那个没有rosyln依赖,你可以通过在那个上面增加parser功能来解析表达式

@liiir1985
Copy link
Collaborator

请问你在qq群吗? 通过Github来沟通太麻烦了@Endures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants