<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Debug Directory?]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=685</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=685&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Debug Directory?.]]></description>
		<lastBuildDate>Tue, 05 Feb 2019 18:20:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Debug Directory?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3286#p3286</link>
			<description><![CDATA[<p>O.k. Just wanted to close things up here:</p><p>The problem with Debugging appears to have been due to the size of the source being compiled. With thousands of variables, 150+ files, hundreds of functions and subroutines it seems it just overwhelmed the debugger. Smaller projects debug as expected.</p><p>Thanks for the speedy replies Jeff, and sorry it took me this long to circle back to this. P.S. I can&#039;t seem to see an option to mark this topic &quot;answered&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (jthomas)]]></author>
			<pubDate>Tue, 05 Feb 2019 18:20:13 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3286#p3286</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debug Directory?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3162#p3162</link>
			<description><![CDATA[<p>Hi,</p><p>Sorry for the delayed reply, I discovered that the namelist reading problem was my fault, I had hard coded the filepaths to a specific file to try and debug things that way (it didn&#039;t work as soon as I needed to read a different file). So you can ignore that.</p><br /><p>The project file and working file are set to different directories. This works fine when launching the program (when I don&#039;t screw up and hard code file paths) through the IDE but still doesn&#039;t work with debugging. I will try making the working file the same directory as the project file and moving everything there.</p>]]></description>
			<author><![CDATA[null@example.com (jthomas)]]></author>
			<pubDate>Mon, 20 Aug 2018 22:18:45 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3162#p3162</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debug Directory?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3161#p3161</link>
			<description><![CDATA[<p>The namelist values not updating probably represents a bigger problem.&nbsp; Are the executable, namelist, and project file all in the same directory?&nbsp; Just curious.</p><p>Is the working directory set to something other than the directory where the project file is located? While this should work perfectly, there may be a bug.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Sun, 19 Aug 2018 17:51:30 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3161#p3161</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debug Directory?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3160#p3160</link>
			<description><![CDATA[<p>Correction to my previous post, there is actually strange behavior when I run it as well. I just noticed after updating some values in a namelist input file that the program somehow still runs with the old values.</p>]]></description>
			<author><![CDATA[null@example.com (jthomas)]]></author>
			<pubDate>Fri, 17 Aug 2018 14:13:57 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3160#p3160</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debug Directory?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3159#p3159</link>
			<description><![CDATA[<p>Hi Jeff,</p><p>Thanks for responding so quickly, the working directory is currently set to C:\Users\jthomas\Desktop\[proprietary folder name]. Running works flawlessly as long as I&#039;m not debugging.</p>]]></description>
			<author><![CDATA[null@example.com (jthomas)]]></author>
			<pubDate>Fri, 17 Aug 2018 13:33:51 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3159#p3159</guid>
		</item>
		<item>
			<title><![CDATA[Re: Debug Directory?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3157#p3157</link>
			<description><![CDATA[<p>The debugger&#039;s working directory should be the same as the launch directory.&nbsp; If that&#039;s not occurring, it would be considered a bug.&nbsp; Let me check that the debugger is properly switching the Working Directory.</p><p>Can you tell me what exactly you have the working directory set to in the Launch Options window?</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 17 Aug 2018 11:34:24 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3157#p3157</guid>
		</item>
		<item>
			<title><![CDATA[Debug Directory?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3156#p3156</link>
			<description><![CDATA[<p>Hi All,</p><p>I recently started using Simply Fortran and I&#039;m having a problem with debugging. My code opens a file containing namelists which is intended to be in the same directory as the executable. I have no problem running (via Launch! or F5) my code when I set the Working Directory under Options &gt; Launch... to the appropriate folder but I have so far been completely unable to use the debugger.</p><p>Every time I run the debugger it fails with the error:</p><p>&quot;Fortran runtime error: Cannot open file &#039;simfile.nml&#039;: No such file or directory&quot;</p><p>Solutions I have tried:</p><p>1) Moving gdb.exe to the directory with simfile.nml and setting Debugger Options &gt; 64-bit Debugger to that path</p><p>2) Setting the debugger argument --with-seperate-debug-dir=[directory with input files]</p><p>Neither did anyting. I am open to suggestions, sorry if this question is answered elsewhere.</p>]]></description>
			<author><![CDATA[null@example.com (jthomas)]]></author>
			<pubDate>Thu, 16 Aug 2018 22:29:13 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3156#p3156</guid>
		</item>
	</channel>
</rss>
