In this second Debugging with SciTE video I show a few more tips & tricks that I didn’t mention /wasn’t aware of at the time of the first video. This video compliments the last so be sure you watch the first one before this one.
Make sure you play till the end as I demonstrate the AutoHotkeydmp function which allows for easily seeing what text is in an array / object as well as demonstrate how you can use the Output panel as the command shell.
Debugging can be very time consuming. If you’re using SciTE with AutoHotKey, there is built-in functionality that is very helpful. This video walks through some of the cool debugging features in SciTE. I also have a second debugging with SciTE video that you should check out after watching this one.
Make sure you take the time to review both videos! I guarantee it will increase your speed of developing code and trouble-shooting issues!
#SingleInstance, Force
#NoEnv
Var:=0
OutputDebug Line %A_LineNumber%: A_Index is: %A_Index% and Var is: %Var%
GoSub Looper
MsgBox end of program
return
;***********************First loop********************************.
Looper:
loop, 15
{
var:=Var+A_Index
OutputDebug Line %A_LineNumber%: A_Index is: %A_Index% and Var is: %Var%
var:=Var+10
GoSub SubLooper
}
return
;***********************Sub loop********************************.
SubLooper:
Loop, 3
{
SubLooperVar:=A_Index
OutputDebug Line %A_LineNumber%: A_Index is: %A_Index% and Var is: %Var% and Sublooper index is: %SubLooperVar%
}
return