Inno Setup: How to watch variables values or write to debug output?

There’s currently no debug watch window, but you can simply hover the variable you want to inspect, when the debugger is stopped on a breakpoint. To print something to a debug output, use the Log procedure: procedure InitializeWizard; var Value: Integer; begin Value := 123; Log(‘The Value is: ‘ + IntToStr(Value)); end; Here is the … Read more