PostMeridian

Hi,

When I am running my game on the 360 via the solution on my pc it just gets gradually slower and slower until it almost grinds to a halt.

It doesn't exhibit this behavior on the pc solution and they are using all shared components so the code is identical.

It seems ok when I run it without debugging.

Any ideas



Re: XNA Game Studio Express Realtime debugging seems to make game progressively slower...

Jim Perry

Hmm, a memory leak in the remote debugger If this is reproducable every time you try it, I'd report it.




Re: XNA Game Studio Express Realtime debugging seems to make game progressively slower...

easlern

If you're using System.Diagnostics.Trace methods on the 360, it does seem to slow down execution a lot. I would guess that's because of the way it sends this info out over the network to output on the PC Not sure if that's the problem though because generally the effect is not cumulative over time.

Another possible cause is creating too many new objects in update() or draw() that the garbage collector needs to pick up. Maybe it just behaves differently in debug versus release builds. This shouldn't normally be cumulative either. :P

Do you have any lists you're forgetting to clear in draw or update calls