In VS2017 and VS2019 the debugger is not tracing correctly my function that uses a VM_START/END marker

<< Click to Display Table of Contents >>

Navigation:  Themida > FAQ > Macros >

In VS2017 and VS2019 the debugger is not tracing correctly my function that uses a VM_START/END marker

We have contacted Microsoft about this and there is a bug on Visual Studio where the debugger incorrectly traces over a code with "inline code" (like our START - END macro markers). The bug is not present on Visual Studio 2015 and it should be fixed in a new release of Visual Studio.

 

Meanwhile, you can also use other type of insertion for the protection macros, you could try  using the ASM module method, as described in the subfolder "\Examples\C\VC (via ASM module)"