<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Launch command line arguments ignored when debugging]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=256&amp;type=atom" />
	<updated>2013-10-04T13:53:38Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=256</id>
		<entry>
			<title type="html"><![CDATA[Re: Launch command line arguments ignored when debugging]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1020#p1020" />
			<content type="html"><![CDATA[<p>This works now in version 2.3.</p>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2013-10-04T13:53:38Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1020#p1020</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Launch command line arguments ignored when debugging]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1002#p1002" />
			<content type="html"><![CDATA[<p>Thank you.</p>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2013-09-27T15:21:04Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1002#p1002</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Launch command line arguments ignored when debugging]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1001#p1001" />
			<content type="html"><![CDATA[<p>It looks like passing launch arguments to the debugging process broke during the transition to 2.0 at some point.&nbsp; I&#039;ve fixed the issue, and it should be working fine again when version 2.3 is released.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-09-27T13:20:23Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1001#p1001</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Launch command line arguments ignored when debugging]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=999#p999" />
			<content type="html"><![CDATA[<p>David,</p><p>That should not be happening.&nbsp; I look into what&#039;s going on.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-09-22T13:58:43Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=999#p999</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Launch command line arguments ignored when debugging]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=998#p998" />
			<content type="html"><![CDATA[<p>One of my Programs uses command line arguments which I read using COMMAND_ARGUMENT_COUNT and GET_COMMAND_ARGUMENT (Both F2003 intrinsics).</p><p>I enter the command line arguments in the Launch ... dialog accessed from the Options menu.</p><p>This works for normal running, but when i am debugging, the debugger doesn&#039;t &quot;see&quot; the command line and COMMAND_ARGUMENT_COUNT returns 0.</p><p>Can this be fixed? At the moment I cannot debug if my Program uses command line arguments.</p><p>(Using v. 2.2)</p><p>Here&#039;s something I can&#039;t debug:</p><div class="codebox"><pre><code>PROGRAM HELLO_NAME
   INTEGER :: N
   CHARACTER(LEN=100) :: NAME
   N=COMMAND_ARGUMENT_COUNT()
   IF (N &gt; 0) THEN
      ! Get first argument, assume its a name
      CALL GET_COMMAND_ARGUMENT(1, NAME)
      PRINT *, &quot;HELLO &quot;, TRIM(NAME)
   ELSE
      PRINT *,&quot;HELLO WORLD&quot;
   END IF
END PROGRAM HELLO_NAME</code></pre></div>]]></content>
			<author>
				<name><![CDATA[davidb]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3463</uri>
			</author>
			<updated>2013-09-22T11:18:08Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=998#p998</id>
		</entry>
</feed>
