sugrhigh

I'm new to C#, XNA, and DirectX but I've been doing C++ and OpenGL for a while now so I'm not COMPLETELY new.

But my question is how do i create a "debug console" in XNA (will be used on XP, not 360)
By debug console I mean a command window( cmd in windows ) that outputs the information i specify while the game is running.



Re: Game Technologies: DirectX 101 Debug Console?

sugrhigh

no one





Re: Game Technologies: DirectX 101 Debug Console?

sugrhigh

I see the system.diagnostics.blah.blah, is that a way
Can't find too much information on it to tell.





Re: Game Technologies: DirectX 101 Debug Console?

redshock

It is hard to tell with a new API tool and lack of best practices, but you can always append to a log text file.



Re: Game Technologies: DirectX 101 Debug Console?

Stevenbc90

It seems to me that the window that you are looking for is the immediate window. You can enter a command and look at the properties of an object if you need to. You get there from the debug menu->windows->immediate

Hope this helps





Re: Game Technologies: DirectX 101 Debug Console?

Salric

Hi there,

I think you're looking a method of writing to a debug type log The following command will output a line to the console:

Console.WriteLine("This is a test");

You can access the console in the IDE by using the View Menu and selecting Output (or CTRL-W).

Hope this helps!