mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-01 12:40:36 +00:00
Switches focus to the IDE when an error is trapped.
This commit is contained in:
parent
1d638a8399
commit
a157eb5f30
|
@ -130,6 +130,9 @@ SUB vwatch (globalVariables AS _OFFSET, localVariables AS _OFFSET)
|
|||
GOSUB SendCallStack
|
||||
vw_cmd$ = "error:" + MKL$(vw_lastLine)
|
||||
GOSUB SendCommand
|
||||
$IF WIN THEN
|
||||
vw_i = vwSetForegroundWindow&(vw_ideHwnd)
|
||||
$END IF
|
||||
EXIT SUB
|
||||
ELSEIF vwatch_linenumber = -2 THEN
|
||||
'report a new sub/function has been "entered"
|
||||
|
|
Loading…
Reference in a new issue