|
[Sponsors] |
March 8, 2008, 15:56 |
Hello,
what would you advice
|
#1 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17 |
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 |
|
March 11, 2008, 09:30 |
Hello again,
now I have more
|
#2 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17 |
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. |
|
March 11, 2008, 11:13 |
Wrong, WM_COMPILE_OPTION is a
|
#3 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17 |
Wrong, WM_COMPILE_OPTION is a switch!
|
|
July 26, 2008, 17:13 |
Karlis,
I have had the same
|
#4 |
New Member
Kent S Kapitan
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
Karlis,
I have had the same problem. Have you found a solution ? Kent Kapitan |
|
July 27, 2008, 06:37 |
Kent,
that was not very impor
|
#5 |
Senior Member
Kārlis Repsons
Join Date: Mar 2009
Location: Latvia
Posts: 111
Rep Power: 17 |
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... |
|
July 28, 2008, 17:36 |
Karlis,
Thanks. Fortunat
|
#6 |
New Member
Kent S Kapitan
Join Date: Mar 2009
Posts: 3
Rep Power: 17 |
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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wmake C and KDevelop for a Foam project | roncresswell | OpenFOAM Installation | 21 | January 27, 2010 13:00 |
debug in Fluent | Miriam | Main CFD Forum | 0 | September 2, 2008 06:21 |
About "debug=T" | sammi | Phoenics | 0 | June 14, 2008 08:18 |
Manage openfoam solver project in KDevelop probably the last linker error any suggestion is welcome | lakeat | OpenFOAM Installation | 0 | July 7, 2007 11:01 |
Why can not set breakpoints in debug | lee | Main CFD Forum | 0 | October 24, 2006 05:00 |