n611x007
n611x007

Reputation: 9272

How to set an 'initial breakpoint' in Visual Studio 2005 automatically?

I would like VS to break as soon as it's entry point is hit (whatever it is).

In WinDBG, I know of a similar concept, the initial breakpoint. Can I achieve the same effect in Visual Studio, generally?

Upvotes: 2

Views: 716

Answers (1)

Vitaly Osipov
Vitaly Osipov

Reputation: 1046

http://msdn.microsoft.com/en-us/library/t547b0f3(v=vs.80).aspx

  1. In Solution Explorer, right-click on the project
  2. From the shortcut menu, choose Debug and click Step Into new instance.

You might need to set the project as "Startup project" or something like that, if your solution contains multiple projects.

Upvotes: 5

Related Questions