First of all, your program does have to have output from its code to the Log, if its a command line tool, if it is, print out the results you want to the Log, you can display this out in two ways.
Firstly on the toolbar where the Run button is, go right to the other end where there are three buttons labeled Views, click the middle one, which will open a log window at the bottom of the editor.
Secondly there is a smaller toolbar under the Run button, click the rightmost button with a tool tip of "Show the Log Navigator", then select the topmost log entry, which should be the most current, this will show the Lopg results in the main editor window.
Hope this helps.
Regards Mark