so I uninstalled the last codeblocks version (17.12) and installed the new version (20.03 with the combined MinGW installer). now when I use codeblocks it runs well and I am able to build and run programs until I hit the 'Debug' button. after hitting debug it displays the following in the debugger log but doesn't start the console or running the program.
DEBUGGER LOG:
Active debugger config: GDB/CDB debugger:DefaultBuilding to ensure sources are up-to-dateSelecting target: DebugAdding source dir: D:\C++\Code blocks projects\test\Adding source dir: D:\C++\Code blocks projects\test\Adding file: D:\C++\Code blocks projects\test\bin\Debug\test.exeChanging directory to: "D:/C++/Code blocks projects/test/."Set variable: PATH=.;C:\Program Files\CodeBlocks\MinGW\bin;C:\Program Files\CodeBlocks\MinGW;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client;C:\Program Files\Intel\iCLS Client;C:\Windows\System32;C:\Windows;C:\Windows\System32\wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\SourceGear\Common\DiffMerge;C:\Users\Lenovo\AppData\Local\Microsoft\WindowsAppsStarting debugger: C:\Program Files (x86)\CodeBlocks\MinGW\bin\gdb32.exe -nx -fullname -quiet -args "D:/C++/Code blocks projects/test/bin/Debug/test.exe"failed
After this message even build and run stops working. they start working after restarting codeblocks but the same happens after pressing debug.
I tried reinstalling codeblocks but the same happens. Also, I checked and my pc unfortunately doesn't have a restore point set.