Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pdfium debug info not included after compile in debug mode #144

Open
dvilchez opened this issue Dec 20, 2024 · 0 comments
Open

Pdfium debug info not included after compile in debug mode #144

dvilchez opened this issue Dec 20, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@dvilchez
Copy link

Describe the bug
Pdfium debug info not included after compile wasm in debug mode

To Reproduce
Steps to reproduce the behavior:

  1. Compile pdfium-lib in debug mode
  2. Install C/C++ DevTools Support (DWARF) extension
  3. Open the sample application
  4. Open sources
  5. Set a breakpoint on LoadPage function in wasm file
  6. When visit a new page, you should see a message saying "No debug information for function $FPDF_LoadPage"

Expected behavior
Load DWARF info and see source code

Screenshots
If applicable, add screenshots to help explain your problem.
SCR-20241220-iflj

System (please complete the following information):

  • OS: MACOS
  • Version 6694
  • Target wasm

Additional context
I checked the debug info using llvm-dwarfdump and I only find fpdfview.h

@paulocoutinhox paulocoutinhox added the bug Something isn't working label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants