needle-tools / needle-console

⚡ Improved Unity Console adding better log and stacktrace readability, log filtering, log hyperlinks and more
86 stars 7 forks source link

Better highlighting for UniTask? #7

Open Razenpok opened 3 years ago

Razenpok commented 3 years ago

Ben.Demystifier works great with stock Tasks, is it possible to provide same support for UniTask?

image

marwie commented 3 years ago

Are you referring to this?

image

Razenpok commented 3 years ago

Yep

Basically, UniTask is a Task substitute for Unity, and it has its own compiler infrastructure - you can see lots of Cysharp.Threading.Tasks lines in the call stack. Also, the actual user code (SelectPage.Test in my case) is obscured by library code. It would be cool to strip demistyfied call stack from this infrastructure code to leave just the valuable pieces.