1

Topic: How to define in a code line, what here on breakpoint?

MSVC environment it is necessary For me to throw off in a broad gull a line "Breakpoint" during the moment, when  on this most breakpoint It probably generally?

2

Re: How to define in a code line, what here on breakpoint?

Hello, SergeyOsipov, you wrote: SO> MSVC SO Environment> it is necessary For me to throw off in a broad gull a line "Breakpoint" during the moment, when  on this most breakpoint SO> It probably generally? It is possible to deduce an inscription in output a window a keyword: tracepoint links: http://stackoverflow.com/questions/2306 … t-used-for https://blogs.msdn.microsoft.com/visual … acepoints/

3

Re: How to define in a code line, what here on breakpoint?

Hello, uzhas, you wrote: U> it is possible to deduce an inscription in output window U> a keyword: tracepoint And in a file in any way?

4

Re: How to define in a code line, what here on breakpoint?

Hello, SergeyOsipov, you wrote: U>> it is possible to deduce an inscription in output window U>> a keyword: tracepoint SO> And in a file in any way? breakpoint and tracepoint work only when  . Time from is connected, you always see Output window. Here from it it is necessary to copy hands the text in a file and there it can filter the code to change and interpose  into a file of other methods I do not know, unfortunately

5

Re: How to define in a code line, what here on breakpoint?

U>> it is possible to deduce an inscription in output window U>> a keyword: tracepoint SO> And in a file in any way? Log Command Window Output Command:/on Optional. Starts the log for the Command window in the specified file and appends the file with the new information.

6

Re: How to define in a code line, what here on breakpoint?

Hello, SergeyOsipov, you wrote: SO> MSVC SO Environment> it is necessary For me to throw off in a broad gull a line "Breakpoint" during the moment, when  on this most breakpoint SO> It probably generally? Probably, e.g. using VS DTE, from , or from indirect application,  all events of debugging, including a brekpojnty/source/stektrejs, etc.//The following #import imports EnvDTE based on its LIBID. #import "libid:80cc9f66-e7d8-4ddd-85b6-d9e6cd0e93e2" version ("8.0")//The following #import imports EnvDTE80 based on its LIBID. #import "libid:1A31287A-4D7D-413e-8E32-3B374931BD89" version ("8.0")...//auto dteProgId = L "VisualStudio. DTE.14.0";//vs2015, {A2FA2136-EB44-4D10-A1D3-6FE1D63A7C05} auto dteProgId = L "VisualStudio. DTE";//any CLSID dteClsid; CLSIDFromProgID (dteProgId, &dteClsid); EnvDTE:: _DTEPtr dte; auto hr = dte. GetActiveObject (dteClsid); _com_util:: CheckError (hr); then a subscription to debugging events: dte-> Events-> DebuggerEvents / _dispDebuggerEvents:: OnEnterBreakMode ps: The example is necessary?

7

Re: How to define in a code line, what here on breakpoint?

Hello, pilgrim _, you wrote: _> ps: the example is necessary? Many thanks, understood. It is not necessary an example.