Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Copy of PDB file to output folder not working on Windows #95

Description

@h3x4d3c1m4l

Hi all. For my open source Photo Booth project (based on Flutter + Rust) I'm looking into making debugging easier. I noticed I can attach to the Flutter process using CodeLLDB in VS Code. However it never paused at any breakpoint.

I noticed the .pdb for the Rust library was not copied to the folder where the .exe was running from. After copying I could attach and breakpoints work just fine. How can I add the copy of the pdb file to the build process, if possible at all?

Src path of the PDB: build\windows\x64\plugins\rust_lib_momento_booth\cargokit_build\x86_64-pc-windows-msvc\debug\rust_lib_momento_booth.pdb

Dst path: build\windows\x64\runner\Debug\rust_lib_momento_booth.pdb

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions