|Re: Debugging an escape model [message #735758 is a reply to message #735730]
||Wed, 12 October 2011 16:30
| Miles Parker
Registered: July 2009
Eva wrote on Wed, 12 October 2011 11:39
Miles Parker wrote on Tue, 05 October 2010 18:41
BTW, I'm a big fan of using console output / logging for this sort of thing. Then you don't need the debugger at all. Since AMF doesn't (yet) have explicit support for logging, you'd need to create Method actions for that. Of course if you're writing your own Escape models you can just throw the Sysout calls into the code. Note that depending on your setup they may go to the *System* console, not the Eclipse console.
I have a problem with that..I want to write some messages, so I have put some Sysout calls in my method actions but nothing appears in the console when I execute the program.How can I see this System console?
I have tried to use the class System.console() but it doesn't work either.
And generally I get nothing no matter what I write in my method actions (even though their Generate attribute is set to true).
By system console, we mean the console for your operating system. On OS X for example you can find it in
Applications:Utilities. (I can't remember what it is on Windows but IIRC it is in the System tools somewhere.)
Setting the generate attribute to true is exactly what you don't want to do if you're writing custom generate actions.
Powered by FUDForum
. Page generated in 0.02997 seconds