Zdeňkovo poznámky

Co zjistím a opakovaně vyheldávám, tak sem zapíšu

Uživatelské nástroje

Nástroje pro tento web


programovani:dev-cpp

Toto je starší verze dokumentu!


Programování v Dev-C++

Používám verzi Dev-C++ 4.9.9.2 s knihovnou lmysql a lcurses

Debug

  • First, make sure you are using a project.
  • Go to Project Options - Compiler - Linker and set Generate debugging information to „yes
  • Make sure you are not using any optimization options
  • check the Parameters tab, make sure you don't have any optimization options (like -O2 or -O3, but -O0 is ok because it means no optimization) or strip option (-s).
  • Do a full rebuild (Ctrl-F11)
  • Set breakpoint(s) where you want the debugger to stop. To set a breakpoint on a line, just click on the gutter (the gray band on the left), or press Ctrl-F5.

Zdroj: http://eilat.sci.brooklyn.cuny.edu/cis1_5/HowToDebug.htm

programovani/dev-cpp.1546925874.txt.gz · Poslední úprava: 2019/01/08 05:37 autor: Zdeněk Havlík

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki