Cpp breakpoint in template vs15

By default breakpoint inside template method will not by hit. Because the actual source code is different (template is just template not the actual code).

dev template breakpoint

 

To make it work got to the settings (gear icon) and tick the option “Allow the source to be different…”

dev template breakpoint settings

 

Lastly, confirm your choice in dialog when debugging the program.

dev template breakpoint dialog

 

Tagged with: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*