<?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 unable to set breakpoints in Intel® Fortran Compiler</title>
    <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832974#M53497</link>
    <description>&lt;DIV&gt;I was trying to debug a program in CVF. I kept trying to set a breakpont. I kept getting the message &lt;EM&gt;"One or more breakpoints cannot be setand have been disabled. Execution will stop at the beginning of the program"&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;Very frustrating.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I read all the posts. I tried everything. Closed all windows. Cleared all other existing breakpoints. There was another project which shared some of the same source files. I blamed that. Cleared all breakpoints in that. Closed all windows in that.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I later was able to set a breakpoint in another place in the code and thus was able to solve my problem. Later I discovered the reason I could not set the breakpoint:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;To make a long story very short, I was trying to set a breakpoint in what was dead code. I had moved some code into a subroutine and left it in the main program until I was sure the rest was working:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;CASE (MENUTHIS)&lt;/DIV&gt;
&lt;DIV&gt; CALL DO THIS(...)&lt;/DIV&gt;
&lt;DIV&gt; CYCLE&lt;/DIV&gt;
&lt;DIV&gt; DEAD CODE 1&lt;/DIV&gt;
&lt;DIV&gt; DEAD CODE 2...&lt;/DIV&gt;
&lt;DIV&gt; DEAD CODE N&lt;/DIV&gt;
&lt;DIV&gt;CASE (MENUTHAT)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Moral of the story:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;If you ever have a problem trying to set a breakpoint and having CVF/MS Developer Studio refuse to allow this breakpoint, before you go any further, make sure you are not setting a breakpoint in dead code.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Charles.&lt;/DIV&gt;</description>
    <pubDate>Wed, 18 May 2005 11:01:56 GMT</pubDate>
    <dc:creator>chstoyer</dc:creator>
    <dc:date>2005-05-18T11:01:56Z</dc:date>
    <item>
      <title>unable to set breakpoints</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832974#M53497</link>
      <description>&lt;DIV&gt;I was trying to debug a program in CVF. I kept trying to set a breakpont. I kept getting the message &lt;EM&gt;"One or more breakpoints cannot be setand have been disabled. Execution will stop at the beginning of the program"&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;Very frustrating.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I read all the posts. I tried everything. Closed all windows. Cleared all other existing breakpoints. There was another project which shared some of the same source files. I blamed that. Cleared all breakpoints in that. Closed all windows in that.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;I later was able to set a breakpoint in another place in the code and thus was able to solve my problem. Later I discovered the reason I could not set the breakpoint:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;To make a long story very short, I was trying to set a breakpoint in what was dead code. I had moved some code into a subroutine and left it in the main program until I was sure the rest was working:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;CASE (MENUTHIS)&lt;/DIV&gt;
&lt;DIV&gt; CALL DO THIS(...)&lt;/DIV&gt;
&lt;DIV&gt; CYCLE&lt;/DIV&gt;
&lt;DIV&gt; DEAD CODE 1&lt;/DIV&gt;
&lt;DIV&gt; DEAD CODE 2...&lt;/DIV&gt;
&lt;DIV&gt; DEAD CODE N&lt;/DIV&gt;
&lt;DIV&gt;CASE (MENUTHAT)&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Moral of the story:&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;If you ever have a problem trying to set a breakpoint and having CVF/MS Developer Studio refuse to allow this breakpoint, before you go any further, make sure you are not setting a breakpoint in dead code.&lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;Charles.&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 May 2005 11:01:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832974#M53497</guid>
      <dc:creator>chstoyer</dc:creator>
      <dc:date>2005-05-18T11:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: unable to set breakpoints</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832975#M53498</link>
      <description>Good advice.  Another formula for frustration is having a lot of similar-looking conditionally compiled code.  I burn myself about least once a month on this.  It's kind of hard to set a breakpoint on a 'source' line that isn't a source line.</description>
      <pubDate>Wed, 18 May 2005 11:44:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832975#M53498</guid>
      <dc:creator>ivfuser</dc:creator>
      <dc:date>2005-05-18T11:44:26Z</dc:date>
    </item>
    <item>
      <title>Re: unable to set breakpoints</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832976#M53499</link>
      <description>&lt;DIV&gt;Can you elaborate on "DEAD CODE"? cause I am having the same issue, but I have more things that has been added, I am using some c obj files as source for the main fortron calls. Do I need to do something special to resolve this? &lt;/DIV&gt;
&lt;DIV&gt;&lt;/DIV&gt;
&lt;DIV&gt;aditya&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 May 2005 20:28:41 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832976#M53499</guid>
      <dc:creator>aditya_achlerkar</dc:creator>
      <dc:date>2005-05-30T20:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: unable to set breakpoints</title>
      <link>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832977#M53500</link>
      <description>&lt;DIV&gt;Another reason for geting this message is that a breakpoint is set in a DLL that has not yet been loaded dynamically.&lt;/DIV&gt;</description>
      <pubDate>Fri, 03 Jun 2005 03:13:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Fortran-Compiler/unable-to-set-breakpoints/m-p/832977#M53500</guid>
      <dc:creator>hweisberg</dc:creator>
      <dc:date>2005-06-03T03:13:56Z</dc:date>
    </item>
  </channel>
</rss>

