Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion LuaDkmDebuggerComponent/LocalComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2609,8 +2609,12 @@ DkmResolvedDocument[] IDkmSymbolDocumentCollectionQuery.FindDocuments(DkmModule
}

var fileName = script.Value.resolvedFileName;
var sourceDocumentName = sourceFileId.DocumentName;

if (sourceFileId.DocumentName == fileName)
// Comparing file paths with ignoring case.
// OK for windows, but may be problematic with unix based operating systems.
// VS is not intended for usage with something else, so...
if (String.Equals(fileName, sourceDocumentName, StringComparison.OrdinalIgnoreCase))
{
var dataItem = new LuaResolvedDocumentItem
{
Expand Down