profiler hiccups

every now and then I get messages like "Can't push marker <orxFXPointer_Update> [ID: -102486383] as it's already currently pushed.
It's not only the orxFXPointer_Update but also for example the orxAnimPointer_Update.

This mesage is followed by a lot of "Skipping marker pop.".

All the messages will cause hiccups in the game.

So first of all: Any idea, what the cause could be?
secondly: can I turn the profiler off somehow?

Comments

  • edited June 2011
    ok I found where to disable it.
    hint for others: there is a define called __orxPROFILER__ inside orxProfile.h. Although it's only active in debug builds anyway.

    that said it would probably still be intersting to find out where those messages come from.
  • edited June 2011
    Yes, definitely. Probably mismatched push/pop markers. I'll look into it tonight. And you found how to deactivate the profiler in debug, so you should be ok. :)
  • edited June 2011
    Couldn't find any obvious mismatch, and actually it looks hard to see how they could mismatch at all. Probably a bug in the push/pop functions themselves then.
    I couldn't repro it though. :/ Would you happen to have a project/example I could try on my side?
  • edited June 2011
    sadly I can't provide you with the sources of the game that has this problem.

    is there something I could do helping to resolve this?
  • edited June 2011
    Ah no worries. If it can help you, I don't mind signing NDAs.

    Otherwise I'm afraid you'll have to trace the push/pop calls by yourself so as to spot the problem. :) Let me know if you find something!
Sign In or Register to comment.