A fast, native WinUI 3 explorer for PDB symbols, C/C++ type definitions, and linked child structures.
PdbLens is built for reverse engineers, Windows developers, and debugging-tool authors who need to inspect PDB symbols without a heavyweight IDE. It uses Microsoft DIA through SymWrap and renders definitions with native WinUI 3 controls. WebView2 is not required.
If PdbLens saves you time, please consider giving the repository a star. It helps more PDB and reverse-engineering users discover the project.
- Native and fast - WinUI 3 with a native
RichTextBlockcode surface. - Built for large PDBs - symbols are indexed natively and loaded page by page.
- Follow the types - click a child structure in a definition to jump directly to it.
- No IDE required - inspect structs, enums, typedefs, functions, data, and public symbols.
- Local by design - PDB content is processed locally and is never uploaded.
- Readable in any theme - system, light, and dark themes share the same Fluent layout.
The right-hand code view renders the first-level definition generated from DIA type information, with syntax highlighting, line numbers, text selection, and a one-click copy action.
Member types that are present in the loaded symbol index become clickable links. Selecting a linked type:
- loads its definition on the right,
- selects and scrolls to it in the symbol list,
- adds the previous symbol to Back/Forward navigation history.
Add one or more PDB files, inspect their paths and symbol counts, and remove multiple files from a single management dialog.
Use the Windows setting or explicitly choose Light or Dark. The code palette, window controls, and Fluent surfaces update together.
The About window shows the current package version, source repository, license, and copyright.
| Category | Supported |
|---|---|
| Structs | Yes |
| Classes | Yes |
| Unions | Yes |
| Enums | Yes |
| Typedefs | Yes |
| Functions, including private symbols | Yes |
| Global data | Yes |
| Public symbols | Yes |
- Open the Releases page.
- Choose one of the published packages:
- Offline MSIX for a fully self-contained installation.
- Online MSIX for a smaller download when .NET 10 is already installed.
- Portable ZIP to extract and run without installation.
- Open a
.pdbfile with the toolbar, drag-and-drop it, or pass it on the command line. - Search, filter, and select a symbol from the left pane.
PdbLens.exe C:\symbols\example.pdbMultiple PDB files can be passed at once:
PdbLens.exe C:\symbols\one.pdb C:\symbols\two.pdb| Artifact | .NET included | Windows App SDK included | Recommended use |
|---|---|---|---|
*-x64-offline.msix |
Yes | Yes | Clean or offline machines |
*-x64-online.msix |
No | Yes | Smaller download; requires .NET 10 Desktop Runtime |
*-win-x64.zip |
Yes | Yes | Portable, no installation |
*-symbols.zip |
N/A | N/A | App, Core, launcher, and native PDB symbols |
The lightweight online MSIX starts through a native launcher. If the .NET 10 Desktop Runtime is missing, it offers to open Microsoft's official download page. No standalone online installer is required.
- Windows 10 1809 or newer, x64.
- Visual Studio 2022 with:
- Desktop development with C++
- Windows SDK
- DIA SDK
- .NET 10 SDK.
- Git submodules initialized:
git submodule update --init --recursive.\build.ps1 -Configuration DebugComplete offline MSIX:
.\build.ps1 -Configuration Release -Package -PackageKind FullLightweight online MSIX:
.\build.ps1 -Configuration Release -Package -PackageKind LeanGenerate all local artifacts, including portable and symbols ZIP files:
.\scripts\Build-LocalArtifacts.ps1The application is produced under:
src/PdbLens.App/bin/x64/Debug/net10.0-windows10.0.26100.0/win-x64/
- Native indexes store symbol IDs and category metadata, not symbol names.
- Symbol names are queried page by page.
- The UI retains at most 1,600 visible symbol rows.
- Only the selected definition is retained in the UI.
- Unloading a PDB releases its DIA session and symbol index.
All DIA calls run on one dedicated STA worker thread. The UI never accesses DIA objects directly.
PdbLens.App WinUI 3 UI, native renderer, navigation
PdbLens.Launcher .NET runtime detection and managed app launcher
PdbLens.Core P/Invoke contract, worker thread, paging models
PdbLens.Native C ABI bridge, compact symbol index, DIA definitions
SymWrap DIA lifecycle and rendering primitives
The native layer resolves direct member types through DIA relationships and returns UTF-16 link ranges. WinUI renders those ranges as hyperlinks instead of parsing rendered C/C++ with regular expressions.
Release tags use the four-part form vX.Y.Z.BUILD. Pushing a base tag such as
v1.2.3 starts the tag-only release workflow, which increments BUILD, builds
and validates all artifacts, creates the final tag, and publishes the GitHub
Release.
Ordinary branch pushes do not trigger GitHub Actions.
Production releases should configure:
WINDOWS_CERTIFICATE_BASE64WINDOWS_CERTIFICATE_PASSWORDWINDOWS_PUBLISHERwhen the certificate subject differs fromCN=PdbLens
Unsigned packages are intended only for inspection and manual testing. Do not install untrusted certificates on user machines.
Managed startup and unhandled exceptions are written to:
%LOCALAPPDATA%\PdbLens\crash.log
Native Windows component failures are also available in Event Viewer.
- Microsoft Windows App SDK
- Microsoft .NET
- Microsoft DIA SDK /
msdia140.dll - SymWrap, LGPL-3.0
Issues and pull requests are welcome. If PdbLens saves you time, consider starring the repository so more PDB and reverse-engineering users can find it.
Copyright © 0CCh.
PdbLens is licensed under LGPL-3.0. See LICENSE.




