While reviewing the Release Notes for the recent compiler update (Intel Fortran Compiler 14, SP1, Update 2) to see what I'm missing out on, I found the following very interesting:
126.96.36.199 New /switch:fe_debug_use_inherit Internal Command Line Switch (14.0.2)
Examining the parent fields of an extended derived type in the Microsoft Visual Studio* debugger currently requires that you also list the parent name. Add the internal command line switch /switch:fe_debug_use_inherit to your debug command line, and you will be able to use the abbreviated syntax to examine the parent field.
For example:TYPE BASE integer Base_Counter END TYPE BASE TYPE, EXTENDS (BASE) :: Type2 END TYPE TYPE2 TYPE(Type2) :: Foo
It is legal Fortran to reference either Foo%Base_Counter or Foo%base%base_counter. Without the fe_debug_use_inherit switch, you cannot use the former form within the Microsoft Visual Studio debugger.
Please note however, if you do set the fe_debug_use_inherit switch, you are unable to use the latter form within the debugger.
This internal command line switch will not be supported in compiler version 15.0 as this feature will then be enabled by default.
Can our friends at Intel explain how this will work inside of Visual Studio IDE? I've never used a debug command line switch before (there is always something new to learn!).
This does sound like a cool feature - kudos for Intel for adding it! I'm also pleased to learn Intel will enable this by default starting with version 15.0 [even though I can only hope management will allow me an upgrade to that version :-(]