Skip to content

Debugger: Go back to the previously active window before executing next line #424

Answered by fade2gray
Gharwen asked this question in Q&A
Discussion options

You must be logged in to vote

Do something like this ...

MsgBox, Do stuff

MySendEvent() ; breakpoint here
MySendEvent(){
    WinActivate, Untitled - Notepad
    WinWaitActive, Untitled - Notepad
    SendEvent, foobar
}

MsgBox, Do more stuff

Set a breakpoint at the call to the MySendEvent() function and use Step Over (F10).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mark-wiemer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants