Skip to content

Commit

Permalink
Doc Debugging and rename the preexisting Debugging topic to "Run-time…
Browse files Browse the repository at this point in the history
… debugger".
  • Loading branch information
martijnlaan committed Oct 10, 2024
1 parent 37edc33 commit 12e3310
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ISHelp/isetup.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<contentstopic title="Using Custom Wizard Pages" topic="scriptpages" />
<contentstopic title="Using DLLs and .NET assemblies" topic="scriptdll" />
<contentstopic title="Using COM Automation objects" topic="scriptautomation" />
<contentstopic title="Debugging" topic="scriptdebug" />
<contentstopic title="Run-time debugger" topic="scriptdebug" />
</contentsheading>
<contentsheading title="Inno Setup Preprocessor">
<contentstopic title="Introduction" topic="isppoverview" />
Expand Down
12 changes: 8 additions & 4 deletions ISHelp/isx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
<link topic="scriptpages">Using Custom Wizard Pages</link><br/>
<link topic="scriptdll">Using DLLs and .NET assemblies</link><br/>
<link topic="scriptautomation">Using COM Automation objects</link><br/>
<link topic="scriptdebug">Debugging</link>
<link topic="scriptdebug">Run-time debugger</link>
</p>

</body>
Expand Down Expand Up @@ -722,9 +722,10 @@ external 'ADllFunc@files:A.dll,B.dll stdcall loadwithalteredsearchpath'; //A.dll
</topic>


<topic name="scriptdebug" title="Pascal Scripting: Debugging">
<keyword value="Pascal Scripting: Debugging" />
<keyword value="Debugging" />
<topic name="scriptdebug" title="Pascal Scripting: Run-time debugger">
<keyword value="Pascal Scripting: Run-time debugger" />
<keyword value="Run-time debugger" />
<keyword value="Debugger" />
<body>
<p>The Compiler IDE contains an integrated run-time debugger to debug your custom Pascal script, accessed via the <i>Run</i> menu. This debugger works very much like debuggers in other IDE's and uses the following menu items:</p>

Expand Down Expand Up @@ -770,6 +771,9 @@ external 'ADllFunc@files:A.dll,B.dll stdcall loadwithalteredsearchpath'; //A.dll

<p>Besides lines in the Pascal script, lines in some other sections can also be paused on, again shown by a gray square in the gutter. For example, toggling a breakpoint on a line in the [Files] section will pause Setup when that file is about to be processed. On such lines <i>Step Over</i> and <i>Step Out</i> both act as <i>Step Into</i>.</p>

<p><b>See also:</b><br/>
<link topic="isxfunc_Debugging">Debugging</link></p>

</body>
</topic>

Expand Down
6 changes: 6 additions & 0 deletions ISHelp/isxfunc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,12 @@ end;</pre></example>
<prototype>function Terminated: Boolean;</prototype>
<description><p>Returns True if Setup or Uninstall is terminating, False otherwise.</p></description>
</function>
<function>
<name>Debugging</name>
<prototype>function Debugging: Boolean;</prototype>
<description><p>Returns True if Setup or Uninstall is being debugged by the Compiler IDE or another application, False otherwise.</p></description>
<seealso><p><link topic="scriptdebug">Run-time debugger</link></p></seealso>
</function>
</subcategory>
<subcategory>
<function>
Expand Down

0 comments on commit 12e3310

Please sign in to comment.