<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Beginner Help with Debugger]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=93&amp;type=atom" />
	<updated>2012-08-23T22:31:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=93</id>
		<entry>
			<title type="html"><![CDATA[Re: Beginner Help with Debugger]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=365#p365" />
			<content type="html"><![CDATA[<p>I think a beginner&#039;s guide to debugging would be quite helpful, but I just haven&#039;t gotten around to authoring one myself.&nbsp; Version 1.32, which should be released early next week, fixes some of Insight&#039;s weirdness.&nbsp; Specifically, it gets rid of the odd &quot;main&quot; procedure requirement at startup, properly alphabetizes the file list, and updates the support code for the 32-bit debugger.&nbsp; Furthermore, debugging is now enabled by default during install, and the user is explicitly warned if debugging is requested on a project where it has been disabled.&nbsp; Hopefully people will find the changes useful.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2012-08-23T22:31:04Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=365#p365</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Beginner Help with Debugger]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=364#p364" />
			<content type="html"><![CDATA[<p>Would anyone care to draft a page of very clear beginners&#039; instructions on the debugger, to invite Jeff to include in the HELP file?</p><p>The page of info that I posted a few weeks ago might be a start, but it would be better for it to be amplified and/or corrected first by someone else who has also had difficulty getting started with it, to give the maximum help to users who are new to debugging.</p><p>Jeff might perhaps consider including a single page in the main SF HELP file which begins by explaining what the debugger is and where (with a link) to find comprehensive help on it but then following on the same page with some very simple get-you-started advice - because the on-line help on the debugger is not at all easy to navigate around and assimilate for new and inexperienced debugger users.<br />--- <br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2012-08-21T19:47:47Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=364#p364</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Beginner Help with Debugger]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=363#p363" />
			<content type="html"><![CDATA[<p>I just started to evaluate SF and had trouble stepping through source code.&nbsp; So this thread was very helpful!&nbsp; Thanks!</p>]]></content>
			<author>
				<name><![CDATA[rzeitler]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=599</uri>
			</author>
			<updated>2012-08-21T18:46:51Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=363#p363</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Beginner Help with Debugger]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=296#p296" />
			<content type="html"><![CDATA[<p>Thanks Jeff, after enabling the Debugger and performing a clean I can now debug.&nbsp; Thanks for the help.&nbsp; </p><p>--Dean</p>]]></content>
			<author>
				<name><![CDATA[Dean]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=422</uri>
			</author>
			<updated>2012-05-17T15:04:09Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=296#p296</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Beginner Help with Debugger]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=295#p295" />
			<content type="html"><![CDATA[<p>John, the pull down menu on the left does not contain my source files. For example main.for is not there.&nbsp; Could the debugger be looking in the wrong location?&nbsp; Or could I be missing the debug option?</p><p>Also, how do I tell it to make my cappucino a double?</p>]]></content>
			<author>
				<name><![CDATA[Dean]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=422</uri>
			</author>
			<updated>2012-05-17T15:02:37Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=295#p295</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Beginner Help with Debugger]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=294#p294" />
			<content type="html"><![CDATA[<p>Dean,</p><p>It sounds like debugging might not be enabled in your compiler options.&nbsp; Open the Compiler Options dialog by selecting &quot;Compiler...&quot; from the Options menu.&nbsp; Make sure &quot;Enable Debugging&quot; has been selected.&nbsp; Finally, exit out of the options dialog, perform a &quot;Clean&quot; from the Build menu, then rebuild the project.</p><p>When you click the Debug icon on the toolbar this time, the source window should show Fortran code and allow you to step through it.</p><p>The Insight debugger does take some getting used to.&nbsp; It was not designed for just Fortran, so sometimes it can be confusing.</p><p>Let us know if you have better luck!</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2012-05-17T14:54:11Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=294#p294</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Beginner Help with Debugger]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=293#p293" />
			<content type="html"><![CDATA[<p>I&#039;d never used a debugger before until Jeff got me started with this one but I use it all the time now.</p><p>1. Compile/ link with the debug option (obviously).</p><p>2. Click &#039;Debug Project&#039;.</p><p>3. Of the two pull-down gadgets, pull down the one on the left.<br />4. Select a source file name.<br />5. Scroll to where you want a breakpoint (or several)<br />&nbsp; &nbsp; (only available on lines with a small &#039;-&#039; in the LH margin)<br />6. Click the line no. to set a breakpoint.<br />7. Repeat 5. and 6. as many times as you need.</p><p>8. Repeat 3. to 7. for as many breakpoints as you need.</p><p>9. Click the running bloke icon<br />10. Press C to continue.</p><p>Your program will now either run as far as and stop on the first breakpoint or possibly crash before it gets there if there&#039;s anything wrong with it before that.</p><p>11. Press C to continue to the next breakpoint<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; or S to execute the next line (stepping into subroutines)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; or N to execute the next line (incl executing any subroutine call)</p><p>12. Press P to get it to make you a cappuccino<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; or L for a cafe latte</p><p>13. $ pays money into your account.<br />13. F seems not to be implemented yet, alas. <br />---</p><p>Once you can do all this, you can quickly discover more about debugger facilities, like reading or displaying variables and array variables.</p><p>Have fun.<br />---<br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2012-05-17T13:34:27Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=293#p293</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Beginner Help with Debugger]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=292#p292" />
			<content type="html"><![CDATA[<p>I have not been able to step through an old FORTAN project with the debugger included with Simply Fortran.&nbsp; &nbsp;</p><p>I used to run the code in Compaq Visual Fortran on a 32-bit machine with Windows XP.&nbsp; When I would debug the project in CVF I could set break points in the FORTRAN code, step through the code and see the results in the console from each line of code.&nbsp; </p><p>In Simply Fortran I can build and run the project successfully.&nbsp; However, I can&#039;t get the debuggger to step through the lines of FORTRAN code.&nbsp; When I click the debug icon a &quot;Souce Window&quot; opens and I see what I think is assembly language.&nbsp; For example:</p><p>0x40dced &lt;main+4&gt;:&nbsp; &nbsp; &nbsp; sub&nbsp; &nbsp; &nbsp;$0x20,%rsp</p><p>I can step through these lines with the debugger but the code doesn&#039;t mean anything to me.&nbsp; I&#039;ve tried to change from ASSEMBLY to SOURCE in the pull down menu on the right hand side with no luck.&nbsp; Is there a simple fix to this problem or a resouce to help me learn to use the debugger?</p><p>Thanks, </p><p>--Dean</p>]]></content>
			<author>
				<name><![CDATA[Dean]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=422</uri>
			</author>
			<updated>2012-05-17T02:14:40Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=292#p292</id>
		</entry>
</feed>
