PDB file contains wrong file path

Abhijith CV 0 Reputation points
2024-04-02T12:09:09.27+00:00

Hi,

I was building the SmartStore application: https://github.com/smartstore/SmartStoreNETin debug mode to generate pdb files.

The pdb file generated contains wrong file name

Example:

real path: src/Libraries/SmartStore.Core/Collections/MultiMap.cs

path in pdb: src/Libraries/SmartStore.Core/Collections/Multimap.cs

Only one letter from the file name has changed its case to small, 'm' in MultiMap.cs

This have occured for multiple files i.e one letter changing its case(Captial to small case in file name).

Attaching csv two csv file:

files from pdb: cs_file_list_from_pdb.txt

files from folder: cs_file_list_from_folder.txt

if a diff is done between these files, MultiMap.cs shows up User's imagepdb with issue: SmartStore.Core.pdb

Visual studio version 2022

MSbuild version: MSBuild version 17.7.2+d6990bcfa for .NET Framework

MSBuild arguments:

/p:Configuration=Debug /p:SlnName=SmartStoreNET /m /p:DebugSymbols=true /p:DebugType=full
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,391 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
942 questions
{count} votes

1 answer

Sort by: Most helpful
  1. RLWA32 40,476 Reputation points
    2024-04-03T13:56:13.4533333+00:00

    In most cases Windows file system is case-insensitive. As described at Naming Files, Paths, and Namespaces "Do not assume case sensitivity. For example, consider the names OSCAR, Oscar, and oscar to be the same, even though some file systems (such as a POSIX-compliant file system) may consider them as different. Note that NTFS supports POSIX semantics for case sensitivity but this is not the default behavior."

    0 comments No comments