Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: PollEvent in debugging Visual Studio  (Read 1645 times)

0 Members and 1 Guest are viewing this topic.

TheEnigmist

  • Full Member
  • ***
  • Posts: 119
    • View Profile
PollEvent in debugging Visual Studio
« on: March 03, 2012, 03:00:41 pm »
I'm working with VS 2010 and i want to run step-by-step my program so i can manage all problem and find bugs. But i've a problem, in VS i need to press F10/F11 to move one step forward, when my program point to PollEvent() istruction it always get F10/F11 or mouseclick event, i don't know how can i give it all other comands.
My question is simple. There is a guide to use debugging in VS 2010 for SFML projects?

texus

  • Hero Member
  • *****
  • Posts: 505
    • View Profile
    • TGUI
    • Email
PollEvent in debugging Visual Studio
« Reply #1 on: March 03, 2012, 03:29:58 pm »
F10 and F11 keys are just shortcuts to something.
In the menubar there should be a Debug tab which contains Step Over and Step Into.
TGUI: C++ SFML GUI

TheEnigmist

  • Full Member
  • ***
  • Posts: 119
    • View Profile
PollEvent in debugging Visual Studio
« Reply #2 on: March 03, 2012, 03:47:29 pm »
Quote from: "texus"
F10 and F11 keys are just shortcuts to something.
In the menubar there should be a Debug tab which contains Step Over and Step Into.

Yes, i click them and PollEvent catch MouseEvent :) I'm testing for example a keyboard press (Enter) but i can't or i don't know how to isolate F11/Mouse click during debugging.