No way to debug the program
After hook compiler, there is no way to debug the program through the file breakpoint. What should I do?
use __debugbreak() or a binary debugger
Because you added a line "#include "xor_decrypt.hpp" at the beginning of the file, the line where "debugbreak()" is always in the wrong line with the real debugging line when debugging the program. I have modified the program code, removed the "#include "xor_decrypt.hpp"" added, and then it can be debugged normally
I wonder if there's a better place to hook higher up so this works? That include is injected so that users don't have to remember to include it everytime.