<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Visual studio watch does not show module variables using ifort classic in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526293#M168262</link>
    <description>&lt;P&gt;Dear Steve,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, this solution does not work for me. Due some restrictions, I have to use Fortran 77 without extension.&amp;nbsp;&lt;BR /&gt;Wrapping the variable is not an option in my situation.&lt;/P&gt;&lt;P&gt;I need to be able to watch a variable while debugging.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Presently, if I add a variable in the watch list, Visual Studio display a pop-up window about trying to display the value. Visual Studio hangs there... then crashes.&lt;/P&gt;&lt;P&gt;I did not have this problem with Fortran 2019 and Visual Studio 2017.&lt;/P&gt;&lt;P&gt;Any other suggestions to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Sep 2023 16:09:42 GMT</pubDate>
    <dc:creator>Godmaire</dc:creator>
    <dc:date>2023-09-21T16:09:42Z</dc:date>
    <item>
      <title>Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1518397#M167946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm unable to debug/watch a variable defined in the module. In the watch window they are being shown as undefined and I get a similar error if I try to add them to a breakpoint condition. I have attached the minimal example replicating this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mesgarnejad__ata_3-1693245511799.png" style="width: 706px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/45087i05DBD1B336AD1C6C/image-dimensions/706x385/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="706" height="385" role="button" title="mesgarnejad__ata_3-1693245511799.png" alt="mesgarnejad__ata_3-1693245511799.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using&amp;nbsp;&lt;/P&gt;&lt;P&gt;visual studio 2022 (17.6.5) and intel Fortran Compiler Classic 2021.10.0&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mesgarnejad__ata_0-1693245000814.png" style="width: 530px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/45084i30E81A8775DA0D3C/image-dimensions/530x405/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="530" height="405" role="button" title="mesgarnejad__ata_0-1693245000814.png" alt="mesgarnejad__ata_0-1693245000814.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mesgarnejad__ata_1-1693245059797.png" style="width: 529px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/45085i74C1DDFDF1CF5F3D/image-dimensions/529x357/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="529" height="357" role="button" title="mesgarnejad__ata_1-1693245059797.png" alt="mesgarnejad__ata_1-1693245059797.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PS: The watch works correctly for ifx.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 18:03:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1518397#M167946</guid>
      <dc:creator>ata_mesgarnejad</dc:creator>
      <dc:date>2023-08-28T18:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1518416#M167947</link>
      <description>&lt;P&gt;I find it interesting that ifx does this on its own. With ifort, you needed to use modname::varname in the watch window for module variables.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Steve_Lionel_0-1693248750377.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/45088i1AB5E20F6E81C09C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="Steve_Lionel_0-1693248750377.png" alt="Steve_Lionel_0-1693248750377.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 18:52:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1518416#M167947</guid>
      <dc:creator>Steve_Lionel</dc:creator>
      <dc:date>2023-08-28T18:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1518433#M167948</link>
      <description>&lt;P&gt;Thanks, Steve. That works.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 19:26:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1518433#M167948</guid>
      <dc:creator>ata_mesgarnejad</dc:creator>
      <dc:date>2023-08-28T19:26:39Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1518435#M167949</link>
      <description>&lt;P&gt;I want to add that hover over module variables still doesn't work! It would be nice if you could restore that behavior back as well.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 19:32:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1518435#M167949</guid>
      <dc:creator>ata_mesgarnejad</dc:creator>
      <dc:date>2023-08-28T19:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526293#M168262</link>
      <description>&lt;P&gt;Dear Steve,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, this solution does not work for me. Due some restrictions, I have to use Fortran 77 without extension.&amp;nbsp;&lt;BR /&gt;Wrapping the variable is not an option in my situation.&lt;/P&gt;&lt;P&gt;I need to be able to watch a variable while debugging.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Presently, if I add a variable in the watch list, Visual Studio display a pop-up window about trying to display the value. Visual Studio hangs there... then crashes.&lt;/P&gt;&lt;P&gt;I did not have this problem with Fortran 2019 and Visual Studio 2017.&lt;/P&gt;&lt;P&gt;Any other suggestions to solve this issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 16:09:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526293#M168262</guid>
      <dc:creator>Godmaire</dc:creator>
      <dc:date>2023-09-21T16:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526307#M168263</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been having the same issue with variables watch hanging since updating to Visual Studio 17.7 from 17.6. I'm going to downgrade for now until this issue is fixed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Ata&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ata_mesgarnejad_0-1695313351793.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/46012iC05545E7B1C4D0C0/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="ata_mesgarnejad_0-1695313351793.png" alt="ata_mesgarnejad_0-1695313351793.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ata_mesgarnejad_1-1695313381313.png" style="width: 861px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/46013iE2B096B5AB862621/image-dimensions/861x468/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="861" height="468" role="button" title="ata_mesgarnejad_1-1695313381313.png" alt="ata_mesgarnejad_1-1695313381313.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 16:25:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526307#M168263</guid>
      <dc:creator>ata_mesgarnejad</dc:creator>
      <dc:date>2023-09-21T16:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526409#M168268</link>
      <description>&lt;P&gt;A recent topic discusses the new VSIX file to update the latest VS programs.&amp;nbsp; If you search you shall find it.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apply the VSIX and Bob's your uncle.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 20:51:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526409#M168268</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-09-21T20:51:04Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526445#M168271</link>
      <description>&lt;P&gt;Thanks, John. I believe &lt;A href="http://community.intel.com/t5/Intel-Fortran-Compiler/Debugging-ifort-in-VS-2022-17-7-hangs-expression-evaluator/m-p/1522644#M168170" target="_self"&gt;this&lt;/A&gt; is it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2023 21:41:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526445#M168271</guid>
      <dc:creator>ata_mesgarnejad</dc:creator>
      <dc:date>2023-09-21T21:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526645#M168276</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jimdempseyatthecove_0-1695384611337.png" style="width: 400px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/46063iA7B168EC52438139/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="jimdempseyatthecove_0-1695384611337.png" alt="jimdempseyatthecove_0-1695384611337.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Does it hang when you use the correct variable name?&lt;/P&gt;&lt;P&gt;Jim Dempsey&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 12:11:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526645#M168276</guid>
      <dc:creator>jimdempseyatthecove</dc:creator>
      <dc:date>2023-09-22T12:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526750#M168282</link>
      <description>&lt;P&gt;It did hang for me Jim whether I used the variable name or module_name::var_name. I have a screen shot of a super minimal example above.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 16:36:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526750#M168282</guid>
      <dc:creator>ata_mesgarnejad</dc:creator>
      <dc:date>2023-09-22T16:36:52Z</dc:date>
    </item>
    <item>
      <title>Re: Visual studio watch does not show module variables using ifort classic</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526767#M168283</link>
      <description>&lt;P&gt;Yes, I believe that is correct.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One learns many valuable lessons in life, that was not one of them, but perhaps.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="fortran"&gt; REAL SK(12000)

 INTEGER MAXL,I,IA,N,NTA,ntb, FLAG
 Logical  ::   ex
 
    integer IRC 
    


 real(kind=4), allocatable :: R1(:)
 real(kind=4), allocatable :: R2(:)
 real(kind=4), allocatable :: Q1(:)
 real(kind=4), allocatable :: Q2(:)

 COMMON /CONTR/ IBUST,ICLOSE,NCYC,INEL,JNEL,NLC,XFAC,NELS,NEQ,NJTS,NSJTS,DMAX,NTERM,FAX,NLCS,MBAND
 COMMON /JOINT/ X,Y,RRTOT
 COMMON /SECTAB/ YMP,YMN,ROTCP,ROTCN
 COMMON /EQNS/ PP,RR,NA,R
 COMMON /STFTAB/ AA,E,XI,SKII,SKJJ,SKIJ,NSFSCI,NSFSCJ
 COMMON /SUPJT/ SPA,SPB,SPR,COSS,SINS,NSPJ,SPFRA,SPFRB,SPFRR
 COMMON /STIFF/ EK,EKA,FK,FKA,AKA,LM,A,AB
 COMMON /MEMBER/ IHI,IHJ,NODI,NODJ,NSFTP,NSECI,NSECJ,STOT,VPTOT,VPTP,VPTN,S,VP
 !
 COMMON SK

 NTA = 1

 allocate (R1(nTA))
 allocate (R2(nTA))
 allocate (Q1(nTA))
 allocate (Q2(nTA))


 I=1

 do IA = 1,NTA

     MAXL=6000                   ! Maximum Elements
     maxl = size(sk)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I first started using ULARC in 1981.&amp;nbsp; I compiled on a CDC machine at the time from a tape recording from UCB.&amp;nbsp; &amp;nbsp;My boss did a masters at UCB.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In all that time and with a lot of analysis I had never had a stop error on maxl exceeded by the model.&amp;nbsp; &amp;nbsp;I had to add line 39 and increase sk.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It just happened.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It took a few minutes in the VS 2022 preview using the new VSIX stuff to work out the problem was the biggest I have run - ever.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is only 125 members.&amp;nbsp;&lt;/P&gt;&lt;P&gt;They were limited in the olden days.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2023 17:16:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/Visual-studio-watch-does-not-show-module-variables-using-ifort/m-p/1526767#M168283</guid>
      <dc:creator>JohnNichols</dc:creator>
      <dc:date>2023-09-22T17:16:54Z</dc:date>
    </item>
  </channel>
</rss>

