![]() ![]() Then running main.exe should print debug information to stderr, but since I'm debugging an -mwindows application, it's not working for me.īut for some reason, running the binary with MSYS2's gdb allows this debug information to be printed to stderr. Use -sls instead of +sls if you need to undo, since I believe that the change takes place for all programs called main.exe in Windows globally, not just for your file. Current Registry Settings for main.exe executable are: 00000002 This prints the following to the terminal to confirm that the registry has been changed. Open the MSYS2 Mingw64 terminal as an administrator and run '/c/Program Files (x86)/Windows Kits/10/Debuggers/圆4/gflags.exe' -i main.exe +sls I could be wrong, but it seems that installing this software installs a hook into the Windows kernel to allow LoadLibrary() to write verbose information to stderr. Install Debugging Tools for Windows by downloading the Windows SDK and unchecking everything except Debugging Tools. It's for developers only, but it's better than nothing. Other methods might work with GUI software.Ī major caveat is that this can't be done in pure C/C++ and released for end users. Guides: Official Beginners Guide - Steam guides - COH2.I figured out a way using the MSYS2 terminal.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |