Code::Blocks Forums

User forums => Announcements => Topic started by: irfan on April 11, 2018, 05:35:49 pm

Title: DEBUGGER: Evaluate expression under cursor
Post by: irfan on April 11, 2018, 05:35:49 pm
Hello developers,

Actually only when mouse hovers right next to the right-hand side of the variable the tooltip pops up showing the variable value.
Only working when there is at least one white space to the right of the variable. So it does not work for VAR1 in the expression such as VAR1*VAR2, because there is no space after VAR1.
I wish the tooltip popped up when the mouse hovers on the variable.

I use codeblock 17.12 for Fortran number crunching (gfortran compiler).

Thank you,
-Irfan
 
 
Title: Re: DEBUGGER: Evaluate expression under cursor
Post by: oBFusCATed on April 11, 2018, 06:14:00 pm
Interesting subforum you've chosen to post your first message.
Can you reproduce this problem with C/C++ project?
Title: Re: DEBUGGER: Evaluate expression under cursor
Post by: irfan on April 11, 2018, 06:37:45 pm
This is a Fortran project, not a C++/C.

Thank you
Irfan
Title: Re: DEBUGGER: Evaluate expression under cursor
Post by: oBFusCATed on April 11, 2018, 08:05:53 pm
I don't have a fortran compiler, so if you can reproduce this with a c/c++ project then I could probably do something about the problem...
Title: Re: DEBUGGER: Evaluate expression under cursor
Post by: irfan on May 04, 2018, 03:11:05 pm
Hello Sir,

My apologies for my late response. I tested my cpp code, interestingly Codeblocks displays the number even if the variable stick together with the operator: 
e.g.   a = b+c ,  hovering mouse to b or c, I did not see tooltip popped up in fortran displaying the value of b or c. But it did in cpp.

BTW, the gnu fortran compile comes with the MinGW installation. Need to set the compiler to gfortran in the compiler options. 

Thank you,
-Irfan
Title: Re: DEBUGGER: Evaluate expression under cursor
Post by: BlueHazzard on May 05, 2018, 01:09:17 am
Do you use gdb for your fortran project, or is it a fortran-gdb?