From c243ac5c95a24fd1d56eb92d08982b392060eb7d Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Fri, 28 Aug 2020 23:03:39 +0200 Subject: [PATCH] Edit and continue is not supported at all. --- manual/tracy.tex | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/manual/tracy.tex b/manual/tracy.tex index 09a79051..0a3a171e 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -443,9 +443,11 @@ If you are experiencing crashes or freezes when manually loading/unloading a sep \subsubsection{Problematic platforms} -Some OS vendors think that \emph{they} own and control the devices \emph{you} have paid for. This results in restricting usage of APIs that might 'confuse' you, or denying you access to information about what your computer is doing. +In case of some programming environments you may need to take extra steps to ensure Tracy is able to work correctly. -This is a very sad state of things. +\paragraph{Microsoft Visual Studio} + +If you are using MSVC, you will need to disable the \emph{Edit And Continue} feature, as it makes the compiler non-conformant to some aspects of the C++ standard. In order to do so, open the project properties and go to \menu[,]{C/C++,General,Debug Information Format} and make sure \emph{Program Database for Edit And Continue (/ZI)} is \emph{not} selected. \paragraph{Apple woes} @@ -1485,14 +1487,6 @@ logo=\bcbombe Tracy is written in C++, so you will need to have a C++ compiler and link with C++ standard library, even if your program is strictly pure C. \end{bclogo} -\begin{bclogo}[ -noborder=true, -couleur=black!5, -logo=\bcattention -]{Caveats} -If you are using MSVC, you will need to disable the \emph{Edit And Continue} feature, for the C API to work\footnote{There's no such requirement for C++ API.}. To do so, open the project properties and go to \emph{C/C++\textrightarrow General\textrightarrow Debug Information Format} and make sure \emph{Program Database for Edit And Continue (/ZI)} is \emph{not} selected. -\end{bclogo} - \subsubsection{Setting thread names} To set thread names (section~\ref{namingthreads}) using the C API you should use the \texttt{TracyCSetThreadName(name)} macro.