I have managed to build and run gdb for a FORTRAN project with Codelite using a Custom Makefile.
What I am missing is the debugger tooltip which seems not to be enabled for *.for files. The "watches" window is working ok.
Is there a way to enable the tooltip?
Debugger tooltip for FORTRAN files
-
- CodeLite Curious
- Posts: 9
- Joined: Wed Dec 28, 2011 10:31 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debugger tooltip for FORTRAN files
Try adding the *.for to the C++ extension file list, under Settings->Colours and Fonts->C++->File extensions
By doing this, codelite will treat all *.fort files as C++ files
Eran
By doing this, codelite will treat all *.fort files as C++ files
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 9
- Joined: Wed Dec 28, 2011 10:31 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Debugger tooltip for FORTRAN files
Thank you eranif, it is indeed working now (after restarting).
-
- CodeLite Curious
- Posts: 9
- Joined: Wed Dec 28, 2011 10:31 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Debugger tooltip for FORTRAN files
However the syntax highlighting is gone now
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debugger tooltip for FORTRAN files
A quicker way to change the syntax highlight during debug session, is from the view menu:
View->View As->Fortran
This will force codelite to display the file as C++, without doing "permanent" changes to your syntax highlight settings
Eran
View->View As->Fortran
This will force codelite to display the file as C++, without doing "permanent" changes to your syntax highlight settings
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 9
- Joined: Wed Dec 28, 2011 10:31 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: Debugger tooltip for FORTRAN files
If View->View As->Fortran is selected then the debugger tooltips are not showing up (again).
So the best approach seems to be:
1. To avoid adding the *.for to the C++ extension file list, so as to have syntax highlighting in "edit mode".
2. To temporarily switch to View->View As->C++ in a debug session, activating tooltips and missing syntax highlighting.
So the best approach seems to be:
1. To avoid adding the *.for to the C++ extension file list, so as to have syntax highlighting in "edit mode".
2. To temporarily switch to View->View As->C++ in a debug session, activating tooltips and missing syntax highlighting.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Debugger tooltip for FORTRAN files
Yes, this is what I meant to writefotis wrote:To temporarily switch to View->View As->C++ in a debug session, activating tooltips and missing syntax highlighting
Eran
Make sure you have read the HOW TO POST thread