I am debugging an executable file with IDA and put a breakpoint at the place that I see 2 buttons.

I want to know which function is executed when I click on one of the buttons and witch one is executed when I click on the other.

I don't know which functions handle them so I can't put a break point there.

What can I do in IDA that the next click I do will break in the function that gets executed?

  • What do you mean by "applay"? – Avery3R Jul 30 '18 at 22:07
  • 2
    Debugging GUI applications is fairly complicated. You'll need to provide more details (for starters, what GUI system's being used) for us to be able to provide a decent answer. – NirIzr Jul 30 '18 at 22:16
  • 1
    How can I know what gui system being used? – Keystone Jul 31 '18 at 3:06
  • 1
    I edited the question so it's actually understandable. Let me know if I changed the meaning too much or edit it yourself (but try to make sure English is correct) – Igor Skochinsky Jul 31 '18 at 7:28
  • @Keystone for example you could start by telling us on what operating system said target application runs. For example on Windows - and provided that the application uses standard Windows windowing mechanisms - it could be as easy as determining the message loop and look up the IDs of the buttons from the dialog resource. But it could also be a lot more complicated. Please improve your question by adding details and adding the appropriate tags also. For example executable seems a bit misplaced here. – 0xC0000022L Jul 31 '18 at 8:27

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.