<div dir="ltr">Thanks, Dave.<div>This is a quite large package due to two screen shots that is part of this documentation. The forms are in the postscript and are added to the ScriptingSystem form dictionary.<div>This is not the ideal solution for adding media, but i found no better way at the moment.</div>
</div><div><br></div><div>Cheers,</div><div>Karl</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 19, 2014 at 2:09 PM,  <span dir="ltr">&lt;<a href="mailto:commits@source.squeak.org" target="_blank">commits@source.squeak.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">David T. Lewis uploaded a new version of Help-Squeak-Project to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Help-Squeak-Project-kfr.16.mcz" target="_blank">http://source.squeak.org/trunk/Help-Squeak-Project-kfr.16.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Help-Squeak-Project-kfr.16<br>
Author: kfr<br>
Time: 18 June 2014, 9:12:21.393 pm<br>
UUID: 7c27339a-1163-3846-b57d-e3b94c517bc8<br>
Ancestors: Help-Squeak-Project-kfr.15<br>
<br>
Debugger document<br>
<br>
=============== Diff against Help-Squeak-Project-kfr.10 ===============<br>
<br>
Item was added:<br>
+ SqueakToolsHelp subclass: #SqueakToolsDebugger<br>
+       instanceVariableNames: &#39;&#39;<br>
+       classVariableNames: &#39;&#39;<br>
+       poolDictionaries: &#39;&#39;<br>
+       category: &#39;Help-Squeak-Project&#39;!<br>
<br>
Item was added:<br>
+ ----- Method: SqueakToolsDebugger class&gt;&gt;bookName (in category &#39;as yet unclassified&#39;) -----<br>
+ bookName<br>
+       ^&#39;Debugger&#39;!<br>
<br>
Item was added:<br>
+ ----- Method: SqueakToolsDebugger class&gt;&gt;debugger (in category &#39;as yet unclassified&#39;) -----<br>
+ debugger<br>
+       ^HelpTopic<br>
+               title: &#39;Using the Debugger.&#39;<br>
+               contents: &#39; Debugging Loops.<br>
+ There are a few ways to get out of a loop.  The best way is to just let the loop run.<br>
+ To do that select the space on your code (while in the Debugger) you want to jump to, right click and select: &#39;&#39;run to here.&#39;&#39;<br>
+<br>
+ &#39; asText,<br>
+ (self showForm: #Debugger1),<br>
+ &#39;<br>
+<br>
+ That will take you to the place you clicked on in your code.<br>
+<br>
+ There is another trick, loops usually have an index.<br>
+ This is Smalltalk after all.  In the case above<br>
+ I just selected this code and selected &#39;&#39;Debug it&#39;&#39;<br>
+<br>
+ 1 to: 100 do: [:i | Transcript show: i asString].<br>
+ Transcript show: &#39;&#39;done&#39;&#39;<br>
+<br>
+ While in the outer content evaluating the loop, select i change the value to 100 hit accept and &#39;&#39;bobs your uncle&#39;&#39; the loop is done.<br>
+ Ok so a bit of a hack but I&#39;&#39;ve used it to skip over some processing and since you are debugging and know what you are doing it should be fine.<br>
+<br>
+ &#39; asText,<br>
+ (self showForm: #Debugger2),<br>
+ &#39;<br>
+ Proceed is just continue and stop debugging.<br>
+<br>
+ Restart will stop debugging at the selected method and restart that method from the beginning.<br>
+<br>
+ Into goes into the execution of the next method and shows you what it does<br>
+<br>
+ Over executes the next message and moves over it to the next message<br>
+<br>
+ Through steps you through a block of code, so if you are about to execute a block, this steps you through that block<br>
+<br>
+ Full Stack increases the number of levels you see in the upper panel.  That normally shows you a subset of the execution stack.  Full stack will show you the rest of the stack that called this method.<br>
+<br>
+ Where is useful if you click around a method during debugging.  It will highlight the code at its execution point.  You can also just select the stack method again to do the same thing.<br>
+<br>
+ Tally well is supposed to Tally selected code.  Ignore Tally.  If you want to tally something do it outside a debugger.&#39; asText!<br>
<br>
Item was added:<br>
+ ----- Method: SqueakToolsDebugger class&gt;&gt;pages (in category &#39;as yet unclassified&#39;) -----<br>
+ pages<br>
+       ^# (debugger)!<br>
<br>
Item was added:<br>
+ ----- Method: SqueakToolsDebugger class&gt;&gt;showDebuggerMenuForm (in category &#39;as yet unclassified&#39;) -----<br>
+ showDebuggerMenuForm<br>
+       | form contents |<br>
+       form := ScriptingSystem formAtKey: #Debugger1.<br>
+       contents :=  (String with: Character cr) asText,<br>
+                                       (Text string: &#39; &#39;<br>
+                                       attribute: (TextFontReference toFont:<br>
+                                               (FormSetFont new<br>
+                                                       fromFormArray: (Array with: form)<br>
+                                                       asciiStart: Character space asInteger<br>
+                                                       ascent: form height))),<br>
+                                               (String with: Character cr) asText.<br>
+       ^contents!<br>
<br>
Item was added:<br>
+ ----- Method: SqueakToolsDebugger class&gt;&gt;showForm: (in category &#39;as yet unclassified&#39;) -----<br>
+ showForm: aSymbol<br>
+       | form contents |<br>
+       form := ScriptingSystem formAtKey: aSymbol.<br>
+       contents :=  (String with: Character cr) asText,<br>
+                                       (Text string: &#39; &#39;<br>
+                                       attribute: (TextFontReference toFont:<br>
+                                               (FormSetFont new<br>
+                                                       fromFormArray: (Array with: form)<br>
+                                                       asciiStart: Character space asInteger<br>
+                                                       ascent: form height))),<br>
+                                               (String with: Character cr) asText.<br>
+       ^contents!<br>
<br>
Item was added:<br>
+ (PackageInfo named: &#39;Help-Squeak-Project&#39;) postscript: &#39;| aForm aSecondForm |<br>
(excessive size, no diff calculated)<br>
<br>
<br>
</blockquote></div><br></div>