- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
my VS Version 17.14.13 and oneAPI version 2025.2. I found that x86 platform can't compile fortran for lacking support for win32, i can compile or run the porgram in x64, but i can't debug the program for all the variables are undefined.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please make a small reproducer. The exercise may be enlightening.
Where are "all the variables"? (local to procedure, module, named common, in a derived type, parameters, ...)
If variables are within a module, then prefix the variable with the module name and ::
In my case the module name was "mod_toss" (the "mod_" is not a compiler decoration, rather naming choice by me)
Also note, in any procedure, variables outside of its scope, will not be visible while within that procedure.
And, should you hit a runtime error (e.g. divide by 0), the call stack will likely show the current stack level is that of the error reporting procedure. To correct this, open the Call Stack debugger window and double click on the offending procedure level.
Jim Dempsey

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