I have an application that has two distinct parts, one operation that process data and adds it to a database and a second operation that retrieves the data and makes a report. Is there a way to tell the debugger to start at the second operation of the application? Previously I've commented out what I didn't want to run and worked around my issue in that way. Is there a better way? Thanks.
Visual-studio – Visual Studio 2008 Debugging
debuggingvisual-studio-2008
Related Topic
- .net – What does the Visual Studio “Any CPU” target mean
- Go to Matching Brace in Visual Studio
- C# – How to remedy “The breakpoint will not currently be hit. No symbols have been loaded for this document.” warning
- Visual-studio – Visual Studio : short cut Key : Duplicate Line
- C++ – debugging a process spawned with CreateProcess in Visual Studio
- C# – Writing to output window of Visual Studio
- R – Build merge module without Devenv from .vdproj
- C# – What makes the Visual Studio debugger stop evaluating a ToString override
Best Answer
Breakpoints? E.g. assuming the app structure is
put a breakpoint on the second part and run in the debugger, and then once you hit the breakpoint, do whatever other debugging you need (add more breakpoints, turn on catch-all-exceptions, etc.) This will still run the first part - it's unclear to me if that's what you want or not.
(Question is a little vague, it's unclear what strategies you know/tried and what your goal is.)