Could not reach breakpoint in Visual Studio

I came across the odd behavior of breakpoints in Visual Studio 2010 Express. Below is the code with breakpoints.

enter image description here

I can break the first breakpoint (line 159), but after going to line 160, the cursor disappears, that is, after this image of the code pressing F10 / F11, the application is displayed.

The problem is

Why is line 162 not executed (without this instruction, assertsdoes not work elsewhere), or is it split into it?

Note. Line 166 Refresh();is executed as the updated application is updated.

EDIT: In the sentences in the comments, I went through a disassembly and I found that this line (from the wxWidgets library ) causes debugging with an error00D5AF7C call wxCharBuffer::~wxCharBuffer (0D207AAh)

+5
1

? - , .

, , Debug- > Windows- > Disassembly. RMB, " ".

+2

All Articles