Hi Bill,
if you are on Windows anyway why not use the windows logging tools like dbmon.exe (available in the windows SDK or from [1]). I learned about it from Smalltalk MT and its a nice way to log/debug (see [2]). Download the above dbmon.exe tool and start it. Then open pharo and load FFI (by evaluating "ScriptLoader loadFFI"). Then file in the attached file and evaluate: Win32DebugConsole new outputDebugString: 'Hello' to log something to the console. It's a nice way if you run headless images. Bye Torsten [1] http://www.genify.com/techniques/dbmon.exe [2] http://www.genify.com/techniques/debugging.htm -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project Win32DebugConsole.st (86 bytes) Download Attachment |
Torstem,
Is the attached change set corrjupt? All I am able to get is 'From Pharo0.1 of 16 May 2008 [Latest update: #10303] on 17 May 2009 at 8:20:45 pm'! Ironic that wer're talking about windows and sometihng like that happens :) Interestingly, I am taking some first steps (nothing irrevokable) that would be consistent with moving most of my work to Linux. Even if that is a stellar success, I might still run some things on Windows to take advantage of existing tech support. Of course, Andreas' "Linus or else warning" holds true, I might reverse even that. The fact is that I have to replace a LOT of code and culture (on my my end, so there is will to do it) in order for this to work. My interest in underscores is tied to it, are are overlapped calls, etc. Wish me luck, please. I really hope this works out. For the past couple of years, I have done all of my telecommuting (not all that much of my time, but significant just the same) via Ubuntu, and have not looked back. I am now increasing my reliance on Linux, and it's going really well. Another crucial factor is that the retail market has caught up with my needs for certain types of hardware that I was unable to buy until now. Here's hoping this works! If Linux/Pharo and the new products turn ot to be robust, my quality of life will improve, after some serious porting and redesign. Bill -----Original Message----- From: [hidden email] [mailto:[hidden email]] On Behalf Of Torsten Bergmann Sent: Sunday, May 17, 2009 1:27 PM To: [hidden email] Subject: [Pharo-project] How to log in console in Windows Hi Bill, if you are on Windows anyway why not use the windows logging tools like dbmon.exe (available in the windows SDK or from [1]). I learned about it from Smalltalk MT and its a nice way to log/debug (see [2]). Download the above dbmon.exe tool and start it. Then open pharo and load FFI (by evaluating "ScriptLoader loadFFI"). Then file in the attached file and evaluate: Win32DebugConsole new outputDebugString: 'Hello' to log something to the console. It's a nice way if you run headless images. Bye Torsten [1] http://www.genify.com/techniques/dbmon.exe [2] http://www.genify.com/techniques/debugging.htm -- Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a _______________________________________________ Pharo-project mailing list [hidden email] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project |
Free forum by Nabble | Edit this page |