Skip to content

Commit

Permalink
Fix debugging when JMC is enabled (#105815)
Browse files Browse the repository at this point in the history
Co-authored-by: Thays Grazia <thtaglia@microsoft.com>
  • Loading branch information
github-actions[bot] and thaystg authored Aug 1, 2024
1 parent bdcf3ef commit 4c12625
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mono/browser/debugger/BrowserDebugProxy/DebugStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1769,6 +1769,8 @@ public async IAsyncEnumerable<SourceFile> Load(SessionId id, string[] loaded_fil
if (assemblyAndPdbData == null || assemblyAndPdbData.AsmBytes == null)
{
var unescapedFileName = Uri.UnescapeDataString(step.Url);
if (isFingerprinted)
unescapedFileName = string.Concat(Path.GetFileNameWithoutExtension(Path.GetFileNameWithoutExtension(unescapedFileName)), Path.GetExtension(unescapedFileName));
assemblies.Add(AssemblyInfo.WithoutDebugInfo(Path.GetFileName(unescapedFileName), logger));
logger.LogDebug($"Bytes from assembly {step.Url} is NULL");
continue;
Expand Down

0 comments on commit 4c12625

Please sign in to comment.