Using Process Explorer: Display Function Names Without PDB File
Process Explorer is a powerful system monitoring tool that allows users to inspect running processes, services, and performance metrics in detail. Developed by Microsoft, Process Explorer provides a more in-depth look at system internals compared to the built-in Task Manager.
What is a PDB File?
A Program Database (PDB) file is a file generated by Microsoft Visual Studio during the compilation of a program. It contains line number and symbolic information that can be used by debugging tools like WinDbg and Visual Studio for debugging and profiling purposes.
Setting Up Process Explorer
To start using Process Explorer, download and install it from the following link: Process Explorer Download. After installation, launch the program and follow these steps:
-
From the
Viewmenu, selectSelect Columns. -
In the
Process Explorer Propertieswindow, click on theProcess Imagetab. -
Check
Function namein the lower right corner. -
Click
OKto close the window.
By default, Process Explorer will look for the dbghelp.dll file in
the C:\Windows\SYSTEM32\ directory. If you have Visual Studio
installed, the file can be found in the Visual Studio installation
directory, which may provide more accurate symbol information.
Display Function Names Without PDB File
When using Process Explorer to analyze a process, the Function name
column shows the currently executing function for each process. However, if
the PDB file for the executable is not available, the Function name
column will show Unknown.
You can still get Process Explorer to display the names of the functions
being executed without the PDB file by using a feature called dynamically
loaded module information. This feature can be enabled using the
Options menu, as described below:
-
From the
Optionsmenu, selectConfigure Symbols. -
In the
Process Explorer Configure Symbolswindow, click on theDLLstab. -
Check
Load all modules for which debug info is available, but not currently loaded. Click on theOKbutton.
Restart Process Explorer, and you should now see the names of the
functions being executed displayed in the Function name column
without requiring the PDB files.
- Understood the importance of PDB files and how Process Explorer uses them
- Discovered how to set up Process Explorer by configuring the
Function namecolumn display
- Discovered how to set up Process Explorer by configuring the
- Learned to use dynamically loaded module information when PDB files aren't available
- Configured the
DLLstab in theProcess Explorer Configure Symbolswindow
- Configured the
References
-
"Process Explorer Documentation - Debugging Tools for Windows." Process Explorer Documentation. Microsoft.
-
"Overview of Program Database (PDB) Files." Overview of Program Database (PDB) Files. Microsoft.