| 205 | When the startup window shows up, select "Enable memory debugging". |
| 206 | |
| 207 | == Notes == |
| 208 | |
| 209 | Totalview is not able to debug when the binary is compiled with -p flag (only for profiling purposes). For that reason, it needs to be removed from the compilation. |
| 210 | |
| 211 | If you compile orchidee with the makeorchidee_fcm tool, make sure to remove it from arch.fcm file: |
| 212 | |
| 213 | arch.fcm: |
| 214 | {{{ |
| 215 | %DEBUG_FFLAGS -fpe0 -p -O0 -g -traceback -fp-stack-check -ftrapuv -check bounds -check all |
| 216 | }}} |
| 217 | to |
| 218 | {{{ |
| 219 | %DEBUG_FFLAGS -fpe0 -O0 -g -traceback -fp-stack-check -ftrapuv -check bounds -check all |
| 220 | }}} |
| 221 | |
| 222 | |