Skip to content

Provide natstepfilter and/or natjmc files for debugging with Visual Studio #50005

@lzybkr

Description

@lzybkr

Visual Studio has support for specifying functions to step over unconditionally, or to step over if debugging "just my code". See the documentation here.

I'm investigating if these files can be embedded in the pdb (like a natvis file with the /NATVIS linker flag) - but I think it would still be useful to simply include two files with the msvc rust compilers:

  • rust.natjmc - This file could probably exclude everything in std::*.
  • rust.natstepfilter - This file would have entries to exclude common helper functions or trait implementations that you typically never want to step through.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-debuginfoArea: Debugging information in compiled programs (DWARF, PDB, etc.)C-enhancementCategory: An issue proposing an enhancement or a PR with one.O-windowsOperating system: WindowsO-windows-msvcToolchain: MSVC, Operating system: WindowsT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions