Skip to content

Conversation

@CodeJhF
Copy link
Collaborator

@CodeJhF CodeJhF commented Jan 13, 2026

为 PAGViewer 和 PAGExporter 的 Release 构建添加调试符号生成支持:

  1. CMake 配置: 在 Release 模式下为 Clang 添加 -g 编译选项,为 MSVC 添加 /Zi/DEBUG 链接选项
  2. macOS dSYM 支持: 为 PAGViewer 和 PAGExporter 自动生成 dSYM 文件,支持 x86_64 和 arm64 架构的通用二进制文件
  3. Windows PDB 支持: 为 Windows 平台生成并收集 PDB 调试符号文件
  4. 符号文件管理: 调试符号文件与发布包分离,便于崩溃分析和调试

这些改进将显著提升线上问题的调试效率和准确性,同时保持 Release 模式的完整优化。

@codecov-commenter
Copy link

codecov-commenter commented Jan 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 77.29%. Comparing base (4f635f0) to head (5ed3bad).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3201      +/-   ##
==========================================
+ Coverage   77.07%   77.29%   +0.21%     
==========================================
  Files         413      413              
  Lines       21999    21999              
  Branches     6283     6283              
==========================================
+ Hits        16956    17004      +48     
+ Misses       3808     3797      -11     
+ Partials     1235     1198      -37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@CodeJhF CodeJhF changed the title Add debug symbol generation support for PAGViewer and PAGExporter builds. Add debug symbol generation for Release builds of PAGViewer and PAGExporter. Jan 14, 2026
@shlzxjp shlzxjp merged commit 8f83276 into main Jan 14, 2026
9 checks passed
@shlzxjp shlzxjp deleted the add-viewer-debug-info branch January 14, 2026 02:45
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.

4 participants