CompileTime-String-Encryption icon indicating copy to clipboard operation
CompileTime-String-Encryption copied to clipboard

No way to debug the program

Open TechForBad opened this issue 5 years ago • 3 comments

After hook compiler, there is no way to debug the program through the file breakpoint. What should I do?

TechForBad avatar Mar 25 '20 09:03 TechForBad

use __debugbreak() or a binary debugger

stevemk14ebr avatar Mar 25 '20 11:03 stevemk14ebr

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

TechForBad avatar Mar 26 '20 02:03 TechForBad

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.

stevemk14ebr avatar Mar 28 '20 21:03 stevemk14ebr