Jump to content

  • Log In with Google      Sign In   
  • Create Account


F1rst_Unicorn

Member Since 21 Jun 2013
Offline Last Active Jun 29 2013 10:58 AM
-----

Posts I've Made

In Topic: 2 parameters having same address

22 June 2013 - 04:21 AM

when using the debug mode the debugger and the program work without any problems. and since having worked on other issues the release mode also works as wanted^^

thanks for that hint :)


In Topic: 2 parameters having same address

22 June 2013 - 03:06 AM

that's what I thought as well

 

I actually am compiling in release mode, so that means I cannot take the debugger information for absolutely true?

Then the error may be at a completely different location...


In Topic: 2 parameters having same address

21 June 2013 - 02:00 PM

I discovered this as the root of my runtime crash. when trying to create a fullscreen display with e.g. 18361474x18361474 px it simply does nothing.

So I debugged the program step by step and tried to change the values of width and height on runtime inside the debugger. When changing one of the two

the other changes simultanously and so i found out using the debugger they have the same address in the stackframe of the function init_system(int, int). 

And my question is: why?!?! that's simply not possible

So my two problems are:

1. undetermined value of width and height

2. same address in memory


PARTNERS