- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to debug a 10,000 line code, which was written in the 70s. The Xcode integration is much improved, but I still have some issues.
1) In the Xcode debugger, I cannot see any globals. Locals are fine.
2) Global variables are "junk" when moused over in the debugger code window. The actual values are fine.
3) I assume due to the fortran definition file, variables that are alpha-numeric, such as temp1, will highlight as "temp" in the mouseover, and the syntax coloring uses numeric colors for numerics in the variable name. I can highlight the entire variable with the number at the end, and then info the correct value (if local) with mouseover.
4) Xcode does not recognize the different functions/subroutines for listing next to the file drop-down menu in Xcode. This of course does not allow for code folding either.
My question is: Are all the above known limitations, or am I doing something wrong?
The integration seems so close, withexcellentintegration in build rules of Xcode. If I need to wait for this functionality, is there another GUI IDE that I can use with ifort on OS X to get the above functionality? I am relatively new to using ifort, so please bear with me.
Thank you for any insight in advance.
Edit: below is a simple program to try the above out in Xcode & debugger:
PROGRAM fortrantest
COMMON GVAR
REAL X
GVAR=10
CALL MYSUB(X)
WRITE(*,*) X
END
C
SUBROUTINE MYSUB(X)
COMMON GVAR
REAL A1,X
A1=3.
X = GVAR*A1
RETURN
END
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unfortunately, these are all known limitations with the current state of debugging Fortran programs under XCode. We continue to work with Apple to improve on this functionality.
Two previous posts available here and here discuss options of using the GNU DataDisplayDebugger (DDD) with the Intel Debugger for Mac OS or Parallels Desktop and Visual Studio for debugging Fortran programs on Mac OS X.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page