Open pongba opened 5 years ago
cc @tmat
I would also add that for on-disk assemblies, even if the PDB is not present, the stack frame would still show the function name (although no file/source line info). function name is some times enough for diagnosing issues. But unfortunately for in memory PDB the function name is not present either.
Does it occur when running on .NET Core or .NET Framework? Which version?
@tmat .NET Framework 4.6+
We load a bunch of extension scripts .csx at runtime like this:
Now if say stack overflow happens inside the script.csx, I would like to be able to examine the minidump and at least tell which line inside the .csx is causing the overflow.
But unfortunately since the .csx is loaded at runtime and therefore its PDB is in-memory (not on disk), it seems that all I have is cryptic stack frame like this:
Is there any way to workaround this? Without source line info we're essentially blind..
Azure functions uses .csx for extension, I wonder how they're solving this issue..