Difference between Trace and Break points?

Posted by Rajeshk under Others on 12/24/2012 | Points: 10 | Views : 1785 | Status : [Member] | Replies : 2
hi all,
i cant differentiating the terms Trace and Break points plz help me?

Thanks&Regards
rajeshkommireddy@gmail.com



Responses

Posted by: Ankitsrist on: 12/24/2012 [Member] Starter | Points: 25

Up
0
Down
hello,
actually Breakpoints tell the debugger that an application should break, pause execution, at a certain point. When a break occurs, your program and the debugger are said to be in break mode. For more information, see Breaking Execution.

Tracepoints are a new debugger feature in Visual Studio. A tracepoint is a breakpoint with a custom action associated with it. When a tracepoint is hit, the debugger performs the specified tracepoint action instead of, or in addition to, breaking program execution.

One common use for tracepoints is printing a message when your program reaches a certain point. You can use tracepoints for many of the same purposes for which you would use Trace, but without the need to modify your code. Another difference is that tracepoints work only when you are running under the debugger.
mark if it helps u

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ankitsrist on: 12/24/2012 [Member] Starter | Points: 25

Up
0
Down
hello,
actually Breakpoints tell the debugger that an application should break, pause execution, at a certain point. When a break occurs, your program and the debugger are said to be in break mode. For more information, see Breaking Execution.

Tracepoints are a new debugger feature in Visual Studio. A tracepoint is a breakpoint with a custom action associated with it. When a tracepoint is hit, the debugger performs the specified tracepoint action instead of, or in addition to, breaking program execution.

One common use for tracepoints is printing a message when your program reaches a certain point. You can use tracepoints for many of the same purposes for which you would use Trace, but without the need to modify your code. Another difference is that tracepoints work only when you are running under the debugger.
mark if it helps u

Rajeshk, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response