|
[Sponsors] |
gdb question (How to track the some parameters..) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 12, 2015, 02:58 |
gdb question (How to track the some parameters..)
|
#1 |
New Member
Seokwon Whang
Join Date: May 2012
Posts: 25
Rep Power: 13 |
Dear foamers,
Recently, I tried to debug by using 'gdb' and 'gdbOF'. For the practice, I chose "scalarTransportFoam". I want to 'print' or 'watch' diffusivity, dimensionedScalar DT. When I use command 'print' or 'watch', I think it shows every information about DT...such as $6 = {name_ = {<Foam::string> = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > = "DT", static typeName = 0x7ffff52cba48 "string", static debug = 0, static null = {<std::basic_string <char, std::char_traits<char>, std::allocator<char> >> = "", static typeName = 0x7ffff52cba48 "string", static debug = 0, static null = <same as static member of an already seen type>}}, static typeName = 0x7 ffff52cc380 "word", static debug = 0, static null = {<Foam::string> = {<std::basic_string<char, std::cha r_traits<char>, std::allocator<char> >> = "", static typeName = 0x7ffff52cba48 "string", static debug = 0, static null = {<std::basic_string<char, std::char_traits<char>, std::allocator<char> >> = "", static typeName = 0x7ffff52cba48 "string", static debug = 0, static null = <same as static member of an already seen type>}}, I just want to show the value of the 'DT'.. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pro/E to ANSYS Parameterization Guide | Trues | ANSYS | 4 | April 18, 2018 05:52 |
How to get Pro/E Parameters to Show Up | Trues | CFX | 4 | September 17, 2012 20:26 |
twoPhaseEulerFoam - parameters | grjmell | OpenFOAM | 1 | June 16, 2011 08:13 |
question about particle track | pengfei | FLUENT | 1 | November 20, 2009 06:33 |
question on conditional breakpoint in using gdb | Wen Long | Main CFD Forum | 4 | April 18, 2002 15:56 |