Book a Demo

Author Topic: Where to find the output of Console.WriteLine?  (Read 5096 times)

Stephanie

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Where to find the output of Console.WriteLine?
« on: May 21, 2007, 11:58:43 pm »
Sorry for this Newbi question in advance.

Where can I find the output of Console.WriteLine() statements of my add-in? In my development environment (VS :Net in my case) or in EA? Are any configuration settings needed in order to see the output?

Thanks for making me a bit smarter  ;)

thomaskilian

  • Guest
Re: Where to find the output of Console.WriteLine?
« Reply #1 on: May 22, 2007, 02:24:41 am »
Choose View/Output from the menu.

In Perl I use the following statements:

$rep->CreateOutputTab ("test");
$rep->WriteOutput ("test", $traceString, 1);

The constant 1 needs to be supplied for reasons I forgot.

Stephanie

  • EA User
  • **
  • Posts: 40
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Where to find the output of Console.WriteLine?
« Reply #2 on: May 22, 2007, 04:30:17 am »
This helped alot, thanks.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Where to find the output of Console.WriteLine?
« Reply #3 on: May 22, 2007, 01:47:54 pm »
The third parameter is an ID that is stored with your output and will be passed back to your addin if it handles EA_OnOutputItemClicked
or EA_OnOutputItemDoubleClicked
.