Uh oh!
There was an error while loading. Please reload this page.
[wasm][debugger] View object attributes - DebugType=full - #62278
Conversation
ghost
commented
Dec 2, 2021
Tagging subscribers to this area: @thaystg Issue DetailsFix view object attributes from a class defined in an assembly with debugType = full. Fix discussion on: mono/mono#19942
|
Uh oh!
There was an error while loading. Please reload this page.
| } | ||
| catch (BadImageFormatException) | ||
| { | ||
| Console.WriteLine($"Warning: Unable to read debug information of: {Name} (use DebugType=Portable/Embedded)"); |
There was a problem hiding this comment.
you could log this using https://chromedevtools.github.io/devtools-protocol/tot/Log/ have it surface to the frontend
There was a problem hiding this comment.
how do you add a LogEntry with that though?
There was a problem hiding this comment.
You emit https://chromedevtools.github.io/devtools-protocol/tot/Log/#event-entryAdded from the proxy.
There was a problem hiding this comment.
As far as I understood this is not supported by JSDebugger so I implemented using Runtime.consoleAPICalled.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Ankit Jain <radical@gmail.com>
Keep peReader as an attribute as is recommended in the documentation. https://docs.microsoft.com/en-us/dotnet/api/system.reflection.metadata.pereaderextensions.getmetadatareader?view=net-6.0#System_Reflection_Metadata_PEReaderExtensions_GetMetadataReader_System_Reflection_PortableExecutable_PEReader_
ghost
commented
Dec 7, 2021
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsFix view object attributes from a class defined in an assembly with debugType = full. Fix discussion on: mono/mono#19942 Adding the Runtime.consoleAPICalled, I couldn't use the Log.entryAdded didn't work on VS.
|


Fix view object attributes from a class defined in an assembly with debugType = full.
Fix discussion on: mono/mono#19942
Adding the Runtime.consoleAPICalled, I couldn't use the Log.entryAdded didn't work on VS.
in VS:

in Chrome:
