user1047092
user1047092

Reputation: 1481

Duplicated Break Points in VS 2008

I am having a problem which I can't quite understand.

I put a breakpoint in one page, and when I debug, another break points appear from another .cpp.

Does anyone know what could be the source of the problem here?

Please help.

thanks

Upvotes: 0

Views: 31

Answers (1)

Luchian Grigore
Luchian Grigore

Reputation: 258648

I can think of 2 possible causes, but it's not really a problem:

  • The compiler inlines function, so when you set a breakpoint in that function, it automatically sets breakpoints to wherever it is encountered.

  • The optimizer squeezed more methods in the same location, so all could be marked.

Will add more if I can think of any.

Upvotes: 1

Related Questions