Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
0 registered members (), 17,416 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Debugging no longer works! :( #185794
02/26/08 14:21
02/26/08 14:21
Joined: Jan 2008
Posts: 49
Sweden
K
Kenchu Offline OP
Newbie
Kenchu  Offline OP
Newbie
K

Joined: Jan 2008
Posts: 49
Sweden
When I press F11 when my game runs, it will not show any statistics anymore! However when I press a second time, the bounding boxes will show as normal (but no statistics). Also, it is no longer possible to insert breakpoints. Well, I can add them, but the game will not stop at the breakpoint (not even if I set one at level_load, which I am 100% sure of that it is executed). I am sure that im running the right script. If I create a new script and run it, then F11 and debugging will work, but not for my other project. I dont understand whats wrong. Any ideas?

I've tried closing and running SED again but that didnt help.

Re: Debugging no longer works! :( [Re: Kenchu] #185795
02/26/08 15:10
02/26/08 15:10
Joined: Apr 2006
Posts: 1,551
Netherlands
D3D Offline
Serious User
D3D  Offline
Serious User

Joined: Apr 2006
Posts: 1,551
Netherlands
Maybe default.c is not included?


smile
Re: Debugging no longer works! :( [Re: D3D] #185796
02/26/08 15:31
02/26/08 15:31
Joined: Jan 2008
Posts: 49
Sweden
K
Kenchu Offline OP
Newbie
Kenchu  Offline OP
Newbie
K

Joined: Jan 2008
Posts: 49
Sweden
I found the problem.
Turns out i had a struct pointer declaration/initiation within a function. For example:

Code:

function blah()
{
some_struct* lol =
{
some_member = 1;
[...]
}
}



That works, but made the debugger go nuts.
So instead i used...

Code:
function blah()
{
some_struct lol;
lol.some_member = 1;
}



And then used operator & for the functions I send this object to.

Thx anyway.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1