Jump to content

  • Log In with Google      Sign In   
  • Create Account


help with debugger


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 proanim   Members   -  Reputation: 437

Like
0Likes
Like

Posted 06 October 2012 - 02:34 PM

I made few changes to my program and now it doesn't work in any way, i don't have a backup so there is no way to undo changes. I am getting bunch of errors in debugger like vertex and index buffer returning .pSysMem = 0xcdcdcdcd, witch were working five minutes ago. At this point i have a class with these private members

D3D11_SUBRESOURCE_DATA vertexData, indexData, iinitData, vertexBufferData;

each of them returns pSysMem = 0xcdcdcdcd

how can i fix this ?

EDIT: i found that this can be fixed to some degre with adding other variable to the constructor? I also get 'display driver has stopped working and has recovered' when my program starts, this renders the program useless.

Can this type of driver crash cause a malfunction on the graphics adapter?

Edited by proanim, 06 October 2012 - 03:00 PM.


Sponsor:

#2 Adam_42   Crossbones+   -  Reputation: 2361

Like
1Likes
Like

Posted 07 October 2012 - 02:30 PM

0xcdcdcdcd is the standard value indicating uninitialized heap memory when the debugger is attached.

I'm guessing you're not initializing those values in your constructor, or anywhere else.

#3 proanim   Members   -  Reputation: 437

Like
0Likes
Like

Posted 08 October 2012 - 02:09 PM

Thanks.

And about this

I also get 'display driver has stopped working and has recovered' when my program starts, this renders the program useless.
Can this type of driver crash cause a malfunction on the graphics adapter?


Can someone answer this just so i can be sure?

#4 Nik02   Crossbones+   -  Reputation: 2645

Like
1Likes
Like

Posted 09 October 2012 - 04:23 AM

In theory, unstable driver state can cause physical malfunction of the device (think overheating, for example), but in practice most hardware has safeguard circuitry to prevent this.

Niko Suni


#5 proanim   Members   -  Reputation: 437

Like
0Likes
Like

Posted 09 October 2012 - 07:41 AM

ok thanks.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS