InterviewSolution
| 1. |
How Can I Debug In Scip? |
|
Answer» Compile SCIP in debug mode: make OPT=dbg. Put the binary into a debugger, e.g., gdb and let it run again. If you get an impression which COMPONENT is causing the trouble, set #define SCIP_DEBUG as the FIRST LINE of the corresponding *.c file, RECOMPILE and let it run again. This will print debug MESSAGES from that piece of code. Compile SCIP in debug mode: make OPT=dbg. Put the binary into a debugger, e.g., gdb and let it run again. If you get an impression which component is causing the trouble, set #define SCIP_DEBUG as the first line of the corresponding *.c file, recompile and let it run again. This will print debug messages from that piece of code. |
|