Professional Documents
Culture Documents
Assaying The Hidden Debugging Gems in Cincom Smalltalk - James Savidge
Assaying The Hidden Debugging Gems in Cincom Smalltalk - James Savidge
Debugging Gems in
Cincom Smalltalk
A review and demonstrations of some of
the lesser-known debugging aids that are World Headquarters
Cincinnati, Ohio
available in Cincom ObjectStudio®,
VisualWorks®, and WebVelocity™.
Welcome
March 16, 2011
• Loaded from
...\contributed\MemoryMonitor.pcl
• Screencasts:
• Variable Watches in the Debugger
• Probes and Watches in the Debugger
• Managing Watch Windows
• Expression Watches in the Debugger
• Pre-loaded in ObjectStudio
• In VisualWorks it can be loaded from
...\parcels\LoggingTool.pcl
• ObjectStudio
Saving all the Transcript output
• <path>\ObjectStudio.exe objectstudio.im -transcript "<path>
\log.txt"
The results of >>out only
• <path>\ObjectStudio.exe objectstudio.im –ostudio "-
o'\C:ProgramData\Cincom\ObjectStudio8.3\Test Space
\log.txt'"
• -v
Display engine and image version information.
• -o10s
This logs every method translation (a first time method send)
to stdout during its whole runtime, which is then redirected to
the log.txt file in the example above. The results can be useful,
but the resulting file will be very large. This option does not
depend upon whether the image dies or not.
• -o...
Various options to a debug version of the VM
• Screencast:
VM Command Line Options
• -err filename
Redirect any stack dumps to the listed filename
• Screencast:
Image Level Command Line Arguments
• Tools-StartupOrderingTool
Shows a graphical representation in a code browser tab for a
subsystem's position in the startup sequence.
In the Parcel Manager: “Developer Tools” folder.
...\parcels\Tools-StartupOrderingTool.pcl
• ObjectStudio Examples
“File ➜ Load Application...”, “Sample Browser”
Q
&
A
☑ObjectStudio ☑VisualWorks ☑WebVelocity
Wednesday, March 16, 2011
Contact info
• http://www.cincomsmalltalk.com
CINCOM and the Quadrant Logo are registered trademarks of Cincom Systems, Inc.
All other trademarks belong to their respective companies.