Author Topic: DEBUGGER: Evaluate expression under cursor  (Read 3666 times)

Offline irfan

  • Single posting newcomer
  • *
  • Posts: 3
DEBUGGER: Evaluate expression under cursor
« 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
 
 

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11282
    • Travis build status
Re: DEBUGGER: Evaluate expression under cursor
« Reply #1 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?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline irfan

  • Single posting newcomer
  • *
  • Posts: 3
Re: DEBUGGER: Evaluate expression under cursor
« Reply #2 on: April 11, 2018, 06:37:45 pm »
This is a Fortran project, not a C++/C.

Thank you
Irfan

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 11282
    • Travis build status
Re: DEBUGGER: Evaluate expression under cursor
« Reply #3 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...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline irfan

  • Single posting newcomer
  • *
  • Posts: 3
Re: DEBUGGER: Evaluate expression under cursor
« Reply #4 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

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 2105
Re: DEBUGGER: Evaluate expression under cursor
« Reply #5 on: May 05, 2018, 01:09:17 am »
Do you use gdb for your fortran project, or is it a fortran-gdb?