Wednesday, 15 July 2015

c# - How to set a breakpoint in every method in VS2010 -



c# - How to set a breakpoint in every method in VS2010 -

i have bigger (c#) wpf application n-classes , m-methods. place in every single method breakpoint, everytime press button in application or method gets called, application in vs2010 nail breakpoint. want understand flow/progress of application.

and since have many methods rather not place manually in every , each of them breakpoint.

is there command or tool place everywhere in vs2010 solution breakpoint?

edit: maybe next addin: http://weblogs.asp.net/uruit/archive/2011/08/04/visual-studio-2010-addin-setting-a-class-breakpoint.aspx

edit2: there answers none of them seems straight forwards easy solution. else?

this answer suggests macro ask, personal recommendation utilize profiler instead - 1 lets pause , resume profiling on fly (nearly of commercial profilers do), , nail "start profiling" button before button click. viewing phone call tree in profiler convenient way of gaining insight application doing, much more stepping through in debugger.

update: feature exists in visual studio extension i'm working on called ozcode. ozcode, when click on icon next class definition, you'll see quickaction:

c# visual-studio-2010 debugging

No comments:

Post a Comment