开发者

Prevent debugging projects that are added as reference in Visual Studio

开发者 https://www.devze.com 2022-12-30 18:32 出处:网络
I have a project that is auto generated.This project is referenced by my web app in visual studio.When i step thro开发者_Go百科ugh the code in debug mode the code from this project gets stepped into.I

I have a project that is auto generated. This project is referenced by my web app in visual studio. When i step thro开发者_Go百科ugh the code in debug mode the code from this project gets stepped into. Is there a way I can skip this code in debug mode.

I can't use System.Diagnostics.DebuggerStepThroughAttribute since the code will get replaced every time my datasource changes.

Thanks,


i think you should remove pdb files of the project which you don't want to debug.

A program database (PDB) file holds debugging and project state information that allows incremental linking of a Debug configuration of your program.

similar question/answer : Can you debug a .NET app with ONLY the source code of one file?

0

精彩评论

暂无评论...
验证码 换一张
取 消