dramatic slowdown while debugging

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

dramatic slowdown while debugging

Postby Pompei2 » Tue Sep 19, 2006 21:37

Hello again,

I've got a little application that uses CEGUI with the SDL, very very similar to the tutorial for CEGUI (0.5RC1) +SDL.

It's Ok that this application runs a bit slowly in Debug mode, but when I debug some code, say the function that handles a pushbutton click, everytime i do a single step in the code, my whole system is VERY slow for a few seconds (mouse cursor and everything lagging as hell) and then all runs fine, until the next step ...

I'm using Windows 2000 and compiling/debugging with Visual Studio 2005 Express. Didn't try it on linux yet, I will give it a try in a few days.

My question is: does anybody have experienced the same problem (and maybe found a solution ?)

And: Is it known that loadScheme takes a while ? Can I do something to make it a bit quicker ? (I already use TinyXML)

ps: debugging some code before the main loop runs normally, but after the mainloop it is still the same.

Hope I was clear :)

[EDIT] Done some testing and it seems that it's only this slow when i jump into a breakpoint. If i put a breakpoint at the beginning of my app, and step trough the whole app (and the mainloop) I didn't get these extreme slowdowns.[/EDIT]

User avatar
Ludi
Quite a regular
Quite a regular
Posts: 59
Joined: Sun Aug 13, 2006 12:33

Postby Ludi » Wed Sep 20, 2006 21:45

I never had such a problem as you descripe.

I know, this doesn't help you very much, but it's all I can say :)

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Thu Sep 21, 2006 18:36

Ludi wrote:I know, this doesn't help you very much, but it's all I can say :)

true :D but at least you say something :p

What system and compiler are you using ? maybe it is not a cegui issue but a SDL or openGL one :? i have no idea, this weekend i'll do more deep testing ...


Return to “Help”

Who is online

Users browsing this forum: No registered users and 11 guests