how do i step through the code execution in construct ?

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Thu Nov 12, 2009 3:34 pm

I am getting lot of crash and not sure which scenario it is causing. how do i debug through my events, actions in construct? I really need to do this otherwise there is no way i can find what is reason for crash.

please reply asap if you know the answer as i am stuck with critical project and we have 4 days to delivery deadline..thanks
B
1
G
3
Posts: 4
Reputation: 833

Post » Thu Nov 12, 2009 4:17 pm

You can toggle events on and off to see what happens with them. Also this should be in the help/tech Support section unless you are talking about a plugin you are making. If you can figure it out try posting the .cap and we can help you.
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Thu Nov 12, 2009 4:48 pm

thanks for quick reply. i cant put .cap on the net since we are working for a company where we patent these stuff.
so we need a way to debug or step into the code to see problem. is there atleast some logging we can enable with our events?
our logic is jus having to rotate a wheel of fortune types and award the money. every event is interlinked and we cannot toggle it to see if it crashes or not since the whole funcitonality will be turned off.
B
1
G
3
Posts: 4
Reputation: 833

Post » Thu Nov 12, 2009 4:53 pm

i got the source code downloaded from sourceforge and tried compiling. but i am stuck with ProfUIS284ym.lib dll. cant find this dll. looks like prof-uis.com doesnt have this version available.
any ideas?
B
1
G
3
Posts: 4
Reputation: 833

Post » Thu Nov 12, 2009 6:00 pm

You dont need the source and with out a better description of how your events work or without seeing them I can help you very much. If you want o PM me the cap I can take a look I doubt anyone here is likely to steal your work.


have you tried running in debug mode?
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Fri Nov 13, 2009 10:37 am

Strictly speaking you need to purchase the Prof-UIS interface library to compile the IDE. However, if it's the runtime crashing, you don't need Prof-UIS (nor ProfUIS284ym.lib) to compile the runtime, but you will need the DirectX 9 SDK. Debugging the IDE won't actually help if the runtime is crashing.

Which module is the crash in? If it's a .csx that should tell you which plugin the crash is caused by. You could also try running the .cap via 'Debug application' in Construct, and see if it can tell you any more about the crash.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,518


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests