<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Debugging the engine line by line?]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=770&amp;type=atom"/>
	<updated>2013-09-10T15:10:12Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=770</id>
		<entry>
			<title type="html"><![CDATA[Re: Debugging the engine line by line?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4937#p4937"/>
			<content type="html"><![CDATA[<p>Thanks Anael. This looks like exactly what I was looking for!</p>]]></content>
			<author>
				<name><![CDATA[Labrasones]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2651</uri>
			</author>
			<updated>2013-09-10T15:10:12Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4937#p4937</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debugging the engine line by line?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4936#p4936"/>
			<content type="html"><![CDATA[<p>Hi,<br />because it&#039;s hard to maintain multiple projects,<br />only the scons build system is up to date.</p><p>you can run scons from visual studio normally :<br /><a href="http://www.scons.org/wiki/IDEIntegration">http://www.scons.org/wiki/IDEIntegration</a><br /><a href="http://www.mereidea.com/blog/2009/05/07/debugging-with-scons-and-visual-studio/">http://www.mereidea.com/blog/2009/05/07 &#133; al-studio/</a></p><p>and you can run scons in debug mode with this command :<br />python scons.py build_mode=debug</p><p>if you don&#039;t manage to create a visual project using scons,<br />you can always compile a debug executable using &quot;python scons.py build_mode=debug&quot;<br />and debug it in visual studio afterwards :<br /></p><div class="quotebox"><blockquote><p>You can debug any executable by building a debug version of the code at the command line (for example, use scons -Q debug=true to build our example code). Open Visual Studio, and create a new, general, empty project. Choose to insert an existing project, and in the dialog select Executable files as the file type. Then browse to the executable you want to debug, and load it in. Set it as your start up project, and then you can either open a file containing the code you want to debug, place a breakpoint and start debugging (F5), or start at the beginning of the executable with Step Into from the Debug menu (or F11).</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2013-09-10T07:25:31Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4936#p4936</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debugging the engine line by line?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4933#p4933"/>
			<content type="html"><![CDATA[<p>I think I got that header name wrong. I looked it up at the time and it was something that came with the other open source compilers, but not Visual Studio.</p><p>I&#039;ve tried so many things now I&#039;ve lost track of what works and what doesn&#039;t.</p><p>When I try and convert from the manualuse VS2005 solution, it seems to only complain about a lack of bullet.lib, which isn&#039;t included with the 3rdparty library folders. I&#039;m in the process of trying to create that library myself.</p><p>Like I said, I&#039;m not a very advanced programmer, and I was hoping to learn a lot about libraries and the like from the maratis engine, which I guess I am, so that&#039;s a good thing I guess.</p>]]></content>
			<author>
				<name><![CDATA[Labrasones]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2651</uri>
			</author>
			<updated>2013-09-10T00:00:58Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4933#p4933</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Debugging the engine line by line?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4932#p4932"/>
			<content type="html"><![CDATA[<p>I did a quick BING search, and found this:</p><p><a href="http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/5f94b61d-3cef-49d4-989e-a0f00358a44a/fatal-error-c1083-cannot-open-include-file-dinputh-no-such-file-or-directory">http://social.msdn.microsoft.com/Forums &#133; -directory</a></p><p>Seems you just need direct X SDK, though Im not sure that&#039;s the fix you&#039;re looking for.</p><p>GL!<br />hs</p>]]></content>
			<author>
				<name><![CDATA[VeganDev]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=18</uri>
			</author>
			<updated>2013-09-09T20:04:11Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4932#p4932</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Debugging the engine line by line?]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=4930#p4930"/>
			<content type="html"><![CDATA[<p>I&#039;m banging my head against a wall trying to get the Maratis3D source to compile in Visual Studio 2010 so that I can debug the code line by line to see how it works. (The c++ source code, not assembly)</p><p>I&#039;m not a very advanced programmer, and in order for me to use this awesome engine, I&#039;m going to need to do a lot of debugging.</p><p>No project I open in VS2010 will compile. I tried using the premake files I found on the forum here to build a VS2010 project, which seems to be the closest I&#039;ve got, but it needed a header like dinput.h or something, which isn&#039;t part of Visual Studio.</p><p>I&#039;d prefer to do something like the manualuse demo, which extends mgame to create the actual game code. If anyone knows how to get a project like that to compile with debug, please let me know.</p><p>I&#039;m open to trying other compilers if that would work better, but I&#039;d like to continue using VS2010 as I&#039;m familiar with it.</p><p>Scons does compile the code fine, but I don&#039;t know how to attach a debugger to it that would actually allow me to step through the source code, not the compiled code.</p>]]></content>
			<author>
				<name><![CDATA[Labrasones]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2651</uri>
			</author>
			<updated>2013-09-09T05:09:02Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=4930#p4930</id>
		</entry>
</feed>
