ender81x
06-04-2006 03:03:34
I'm trying to figure out the best way to debug a few hard to track down bugs in my app... For instance, I intermittently get the error:
Which I am pretty sure is being thrown because something I am trying to render must be getting invalidated in my app somewhere... the problem is I have a lot of state-switching going on, so the CEGUI interface items are being created/destroyed between states and such... Is there a decent way to debug things like this? Or am I out of luck since all the code is stuck in the binding dlls?
On a side note, thanks for all the help I've been getting on the forums with my recent problems, hopefully I'll be answering questions rather than asking them soon
### Exception Attempted to read or write protected memory. This is often an ind
ication that other memory is corrupt.
OgreDotNet
at OgreDotNet.OgreBindingsPINVOKE.Root_StartRendering(HandleRef jarg1)
at OgreDotNet.Root.StartRendering()
at Outcast.BaseSystem.BaseApplication.Start() in c:\dev\mmo_net\Outcast\Outca
st.BaseSystem\BaseApplication.cs:line 82
at Outcast.Client.Application.Main(String[] args) in c:\dev\mmo_net\Outcast\O
utcast.Client\Application.cs:line 170
Which I am pretty sure is being thrown because something I am trying to render must be getting invalidated in my app somewhere... the problem is I have a lot of state-switching going on, so the CEGUI interface items are being created/destroyed between states and such... Is there a decent way to debug things like this? Or am I out of luck since all the code is stuck in the binding dlls?
On a side note, thanks for all the help I've been getting on the forums with my recent problems, hopefully I'll be answering questions rather than asking them soon