1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-29 04:23:51 +00:00

More context about the MSVC "Edit and Continue" issue

This commit is contained in:
Marcos Slomp 2025-04-12 07:38:19 -07:00 committed by GitHub
parent e656d49f53
commit 195d79fc67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -582,6 +582,8 @@ In the case of some programming environments, you may need to take extra steps t
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.
For context, if you experience errors like "error C2131: expression did not evaluate to a constant", "failure was caused by non-constant arguments or reference to a non-constant symbol", and "see usage of '\texttt{\_\_LINE\_\_Var}'", chances are that your project has the \emph{Edit And Continue} feature enabled.
\paragraph{Universal Windows Platform}
Due to a restricted access to Win32 APIs and other sandboxing issues (like network isolation), several limitations apply to using Tracy in a UWP application compared to Windows Desktop: