|
[Sponsors] |
![]() |
![]() |
#1 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 16 ![]() |
Hello,
what would you advice for a beginner? I did partially recompiled OpenFOAM with debug (ran into paraview problems). Can build an app using EXE_INC = \ -I$(LIB_SRC)/finiteVolume/lnInclude -DFULLDEBUG -g -O0 Kārlis |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 16 ![]() |
Hello again,
now I have more appointed problem: when I compile program and run it in gdb, I can debug it, but when start that app by KDevelop's "Debug->Start"(which also uses GDB by defaul) it just exits quickly. Debugging versions are supposed to be much slower, right? Switch between debug / opt version of build is "-DFULLDEBUG -g -O0" options or I've missed something? What debugging environment have you found useful? Some knowledge about debug will be appreciated here! K. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 16 ![]() |
Wrong, WM_COMPILE_OPTION is a switch!
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
New Member
Kent S Kapitan
Join Date: Mar 2009
Posts: 3
Rep Power: 16 ![]() |
Karlis,
I have had the same problem. Have you found a solution ? Kent Kapitan |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 16 ![]() |
Kent,
that was not very important for me, so I used GDB through console sometimes. That can give useful information, but I missed something to integrate with KDevelop... |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
Kent S Kapitan
Join Date: Mar 2009
Posts: 3
Rep Power: 16 ![]() |
Karlis,
Thanks. Fortunately, I managed to figure it out and actually got it to work. I have posted a summary of the solution for others if your interested. Just search the message board for KDevelop. The trick turns out to be leaving the "Debugger Executable" blank in the Project Options Debugger dialog in KDevelop. |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wmake C and KDevelop for a Foam project | roncresswell | OpenFOAM Installation | 21 | January 27, 2010 12:00 |
debug in Fluent | Miriam | Main CFD Forum | 0 | September 2, 2008 05:21 |
About "debug=T" | sammi | Phoenics | 0 | June 14, 2008 07:18 |
Manage openfoam solver project in KDevelop probably the last linker error any suggestion is welcome | lakeat | OpenFOAM Installation | 0 | July 7, 2007 10:01 |
Why can not set breakpoints in debug | lee | Main CFD Forum | 0 | October 24, 2006 04:00 |