Home > Software engineering > MFC procedures, click the close button in the top, right corner of the dialog box (x) button, can so
MFC procedures, click the close button in the top, right corner of the dialog box (x) button, can so
Time:10-07
Refer to [a great god, MFC procedures, click the close button in the top, right corner of the dialog box (x) button, can sometimes trigger breakpoints, sometimes not punishment breakpoints, this is what reason, program can run normally, all functions can also be a dog, is to click the close button at top right corner, can appear sometimes that kind of situation, sometimes will not appear, will be the result of a memory leak,
CodePudding user response:
Are there any masters know? When you don't click the close button, everything is normal, functions can be implemented, click the close button, sometimes trigger breakpoints, sometimes don't trigger breakpoints
CodePudding user response:
Before the close of the basically memory leaks, or some illegal operation
CodePudding user response:
Second floor: I have a memory leak, the memory leak will result in that situation?
CodePudding user response:
To solve the problem of memory leaks, see also not exception
CodePudding user response:
Collapsed in the pop-up dialog box, press the corresponding button to enter debugging press Alt + 7 key to view the Call Stack, namely "the Call Stack" from the inside to the following out of from the inner to outer function Call history, double-click a row to the cursor to the Call of the source code or assembly instruction, don't understand when double click on the next line, until we can read ,
CodePudding user response:
Using F5 debugging way let the program run, and then observe the debugging, stack window, look down, look at is which function in your range,