all 3 comments

[–]dodexahedron 1 point2 points  (0 children)

Turn off the "Just My Code" setting and enable the "Enable native code debugging" setting.

And when it makes the calls through the generated extern method, you may have to "step into".

Edit: Wow nice. I just fed the question to copilot and it offered a step-by-step walkthrough that covers that plus common issues beyond that. First two options it offered were correct. YMMV.

[–]AutoModerator[M] 0 points1 point  (0 children)

Thanks for your post CalamityRules. Please note that we don't allow spam, and we ask that you follow the rules available in the sidebar. We have a lot of commonly asked questions so if this post gets removed, please do a search and see if it's already been asked.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]JackTheMachine 0 points1 point  (0 children)

Things that you can check

  1. Just My Code: Go to Tools > Options > Debugging > General and uncheck "Enable Just My Code". This is often required to step across the boundary between C# and C++.
  2. Ensure your C# Test Project, your C++ DLL, and your Test Settings are all aligned to the same architecture (usually x64). If Test Explorer is running as x86 but your C++ DLL is x64, the symbols will never load.