Today, when code: blocks is used to debug the program, the following situation occurs:
In fact, it has also appeared before, but after Baidu's solutions, most of them are modifying the execution path. I also followed it step by step, but it does not work. At that time, I installed the latest code: blocks. Then I uninstalled it and re-installed a slightly older version, code: blocks 16.01, because I used it the year before, yes, you can debug it and install this version.
After installation, I tried to use it again today because of too many things. I found that there was still a problem with debugging. I followed the information I found and tried it step by step. After checking that my execution path is c: \ Program Files (x86) \ codeblocks \ mingw \ bin \ gdb32.exe, I found that only the gdb.exe file should be included, therefore, debugger cannot be started. Therefore, I changed it to c: \ Program Files (x86) \ codeblocks \ mingw \ bin \ gdb.exe and restarted debugging !!!
However, there is still a question: is there a problem with the latest code: blocks?
Code: blocks debugging