|
|
|
|
|
|
|
Re: Debugging an escape model [message #735758 is a reply to message #735730] |
Wed, 12 October 2011 16:30 |
Miles Parker Messages: 1341 Registered: July 2009 |
Senior Member |
|
|
Hi Eva,
See below..
Eva wrote on Wed, 12 October 2011 11:39Miles Parker wrote on Tue, 05 October 2010 18:41BTW, 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.
Hello,
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).
Thanks!
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.
cheers,
Miles
|
|
|
Powered by
FUDForum. Page generated in 0.05235 seconds