Witam,
Próbuje użyć debugera w code blocks. Na początku wyswietlało mi się to:
ERROR: You need to specify a debugger program in the debuggers's settings.
(For MinGW compilers, it's 'gdb.exe' (without the quotes))
(For MSVC compilers, it's 'cdb.exe' (without the quotes))
Poszukałem na google i zgodnie z radami odnalazłem Executable Path. Nie znalazłem jednak co mam tam wpisać ,więc metodą prób i błędów wpisywałem, aż przestanie wyświetlać się błąd (zadziałało bin->debug->plik.exe). Ale przy próbie otworzenia jakiegokolwiek okna debugera nie mogę znalezc stanu zmiennych, ponadto nie pokazuje się taki żółty trójkąt, który pokazuje się na tutorialach na youtube i nie ma też konsoli, która szczególnie by się przydała, bo parę zmiennych trzeba wpisać z klawiatury.
Jeśli to w czymś pomoże to w zakładce o debugerze pokazuje to:
Active debugger config: GDB/CDB debugger:Default
Building to ensure sources are up-to-date
Selecting target:
Debug
Adding source dir: C:\Users\PC\Desktop\gy\
Adding source dir: C:\Users\PC\Desktop\gy\
Adding file: C:\Users\PC\Desktop\gy\bin\Debug\gy.exe
Changing directory to: C:/Users/PC/Desktop/gy/.
Set variable: PATH=.;C:\TDM-GCC-64\bin;C:\TDM-GCC-64;C:\Program Files (x86)\Borland\CBuilder6\Bin;C:\Program Files (x86)\Borland\CBuilder6\Projects\Bpl;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;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:\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:\Users\PC\AppData\Local\Microsoft\WindowsApps
Starting debugger: C:\Users\PC\Desktop\gy\bin\Debug\gy.exe -nx -fullname -quiet -args C:/Users/PC/Desktop/gy/bin/Debug/gy.exe
done
Registered new type: wxString
Registered new type: STL String
Registered new type: STL Vector
Setting breakpoints
Debugger finished with status 0