Skip to content

Document PDB symbol files for obfuscated Windows x64 builds - #13787

Open
linzj wants to merge 1 commit into
flutter:mainfrom
linzj:obfuscate-windows-pdb
Open

Document PDB symbol files for obfuscated Windows x64 builds#13787
linzj wants to merge 1 commit into
flutter:mainfrom
linzj:obfuscate-windows-pdb

Conversation

@linzj

@linzj linzj commented Aug 23, 2026

Copy link
Copy Markdown

Summary

With PE/COFF AOT snapshots (flutter/flutter#187594), Windows x64 builds using --split-debug-info produce a PDB file (app.windows-x64.pdb) instead of an app.windows-x64.symbols DWARF file, and flutter symbolize doesn't support PDB files.

This updates the obfuscation docs to:

  • Note that Windows x64 builds generate app.windows-x64.pdb instead of a SYMBOLS file.
  • Note that flutter symbolize doesn't support PDB files, and that stack traces from obfuscated Windows x64 builds are read with a Windows debugger (for example, WinDbg) and the PDB file.

Do not merge until flutter/flutter#187594 lands and reaches the stable channel, since this page documents stable-channel behavior.

Fixes the docs question raised in flutter/flutter#187594 (comment)

@linzj
linzj requested review from a team and sfshaza2 as code owners August 23, 2026 23:22

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the obfuscation documentation to include specific instructions for Windows x64 builds, noting that they generate a PDB file instead of a SYMBOLS file and require a Windows debugger like WinDbg. The review feedback suggests improving consistency by referencing the PDB file in the backup instructions and moving the Windows-specific note to the beginning of the stack trace section to prevent Windows users from following unnecessary steps.

Comment thread sites/docs/src/content/deployment/obfuscate.md
Comment thread sites/docs/src/content/deployment/obfuscate.md Outdated

@sfshaza2 sfshaza2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! lgtm

@linzj
linzj force-pushed the obfuscate-windows-pdb branch from 77d5963 to dd90298 Compare August 25, 2026 00:58
With PE/COFF AOT snapshots, Windows x64 obfuscated builds produce a
PDB file instead of a SYMBOLS file, and flutter symbolize does not
support PDB files. Document this in the obfuscation guide: note the
PDB output in the build and backup steps, and explain at the top of
the 'Read an obfuscated stack trace' section that Windows x64 users
should load the PDB in a Windows debugger such as WinDbg.
@linzj
linzj force-pushed the obfuscate-windows-pdb branch from dd90298 to 6dcfa69 Compare August 25, 2026 01:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants