فهرست منبع

Doc Debugging and rename the preexisting Debugging topic to "Run-time debugger".

Martijn Laan 11 ماه پیش
والد
کامیت
12e3310ed9
3فایلهای تغییر یافته به همراه15 افزوده شده و 5 حذف شده
  1. 1 1
      ISHelp/isetup.xml
  2. 8 4
      ISHelp/isx.xml
  3. 6 0
      ISHelp/isxfunc.xml

+ 1 - 1
ISHelp/isetup.xml

@@ -54,7 +54,7 @@
     <contentstopic title="Using Custom Wizard Pages" topic="scriptpages" />
     <contentstopic title="Using Custom Wizard Pages" topic="scriptpages" />
     <contentstopic title="Using DLLs and .NET assemblies" topic="scriptdll" />
     <contentstopic title="Using DLLs and .NET assemblies" topic="scriptdll" />
     <contentstopic title="Using COM Automation objects" topic="scriptautomation" />
     <contentstopic title="Using COM Automation objects" topic="scriptautomation" />
-    <contentstopic title="Debugging" topic="scriptdebug" />
+    <contentstopic title="Run-time debugger" topic="scriptdebug" />
   </contentsheading>
   </contentsheading>
   <contentsheading title="Inno Setup Preprocessor">
   <contentsheading title="Inno Setup Preprocessor">
     <contentstopic title="Introduction" topic="isppoverview" />
     <contentstopic title="Introduction" topic="isppoverview" />

+ 8 - 4
ISHelp/isx.xml

@@ -55,7 +55,7 @@
 <link topic="scriptpages">Using Custom Wizard Pages</link><br/>
 <link topic="scriptpages">Using Custom Wizard Pages</link><br/>
 <link topic="scriptdll">Using DLLs and .NET assemblies</link><br/>
 <link topic="scriptdll">Using DLLs and .NET assemblies</link><br/>
 <link topic="scriptautomation">Using COM Automation objects</link><br/>
 <link topic="scriptautomation">Using COM Automation objects</link><br/>
-<link topic="scriptdebug">Debugging</link>
+<link topic="scriptdebug">Run-time debugger</link>
 </p>
 </p>
 
 
 </body>
 </body>
@@ -722,9 +722,10 @@ external 'ADllFunc@files:A.dll,B.dll stdcall loadwithalteredsearchpath'; //A.dll
 </topic>
 </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>
 <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>
 <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>
 
 
@@ -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>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>
 </body>
 </topic>
 </topic>
 
 

+ 6 - 0
ISHelp/isxfunc.xml

@@ -233,6 +233,12 @@ end;</pre></example>
         <prototype>function Terminated: Boolean;</prototype>
         <prototype>function Terminated: Boolean;</prototype>
         <description><p>Returns True if Setup or Uninstall is terminating, False otherwise.</p></description>
         <description><p>Returns True if Setup or Uninstall is terminating, False otherwise.</p></description>
       </function>
       </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>
     <subcategory>
     <subcategory>
       <function>
       <function>