If you even came across WinDBG, you might have experienced using “bm” command for setting one more breakpoints based on the pattern we’re specifying.
For e.g if we put break point like bm Create*, the debugger will put the break points in the function with starts with Create.
The similar feature is available in Visual Studio as well. As an example, consider the following class ‘CPerson’
and suppose if we want to set the break points on all set function, we can do as do as follows.
Take New Break Point from Debug Menu
Give your wild characters to break at desired function
Once you start debugging you can see that break-points appears as specified…
Cool isn’t it?
Your email is never published nor shared. Required fields are marked *
You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Visual Studio – Using wildcard characters in the symbol pattern for a breakpoint
If you even came across WinDBG, you might have experienced using “bm” command for setting one more breakpoints based on the pattern we’re specifying.
For e.g if we put break point like bm Create*, the debugger will put the break points in the function with starts with Create.
The similar feature is available in Visual Studio as well. As an example, consider the following class ‘CPerson’
and suppose if we want to set the break points on all set function, we can do as do as follows.
Take New Break Point from Debug Menu
Give your wild characters to break at desired function
Once you start debugging you can see that break-points appears as specified…
Cool isn’t it?