MCPcopy Create free account
hub / github.com/AutoHotkey/AutoHotkey / HasPendingCommand

Method HasPendingCommand

source/Debugger.cpp:124–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122
123
124bool Debugger::HasPendingCommand()
125// Returns true if there is data in the socket's receive buffer.
126// This is used for receiving commands asynchronously.
127{
128 u_long dataPending;
129 if (ioctlsocket(mSocket, FIONREAD, &dataPending) == 0)
130 return dataPending > 0;
131 return false;
132}
133
134
135int Debugger::EnterBreakState()

Callers 1

MainWindowProcFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected