Lazarus Terminal Output Not Shown (Version 2.0.10) - freepascal

So I recently installed Lazarus and created a simple Hello World Program. When I ran it, no terminal showed up with the output.
Here is my code:
program project1;
begin
writeln ('Hello, world.');
readln;
end.
I saw a question very similar to this. The answer said to click View > Debug Windows > Terminal Output. When I click View > Debug Windows, there is not option: Terminal Output. I'm on macOS Catalina. Is there some change to the way that you are supposed to this.
Here are the options for Debug Windows:
I also do see a message saying the compilation ran successfully (in green).

Related

running java program in IntelliJ terminal

Below is a screenshot of IntelliJ on my computer with a terminal up.
I thought I should be able to just type java random_uniformin the terminal to run the program but it complains withe the error message shown in the screenshot.
I have looked at similar questions to mine but still wasn't able to resolve the issue.
The terminal in IntelliJ is just your shell (if you're on unix) and cmd.exe-like command prompt (if you're on Windows). There's no magic.
So to run program in terminal you need to compile it as usually and run binary.
Here is an answer about how to compile Java program

Unable to display Octave figure in Atom on MacOS

I tried few different terminal implementations such as terminal-plus or platformio-ide-terminal on Atom (1.38.2) to run some Octave exercises. I noticed that the Octave shell runs normally until I try to plot anything.
When I type figure into the shell no window pops up and no error or any other messages appear in the terminal. Yet everything runs OK in Mac (Mojave 10.14.5) own terminal
Figured it out. The popup is there but it is buried under Atom itself. If I call figure(gcf) instead of simply figure it brings the window to the foreground and displays above the IDE. If anyone has a better answer I'll be happy to accept

Chrome nativeMessaging example fails on Windows

I downloaded the official Chrome nativeMessaging example to test it out.
To do this, I installed the app from chrome://extensions, by choosing Load Unpacked. No problems so far.
I then installed the host. I'm using Windows 7, so I ran install_host.bat, which claimed that "The operation completed successfully." However, when I go to chrome://apps/ and click the Connect button, I get this error:
Failed to connect: Native host has exited.
Is there some reason this would happen? Restarting Chrome did not fix the issue, nor did uninstalling and then reinstalling the host program.
(I noticed that native-messaging-example-host.bat requires Python 2, so I modified it to run Python 2 explicitly. If I run native-messaging-example-host.bat from the command line, it pops up a little example program of its own with a GUI and seems to work correctly.)
Turns out I was using a non-standard character in the path leading to the host executable. This wouldn't be a problem for any other program, but Chrome's native messaging API doesn't like it, I guess.
By the way, the documentation on setting up this example is near-nonexistent, but this stack overflow link has some useful info: Chrome Extension NativeMessaging 'connectNative' undefined

MonoDevelop's debugger and xterm/gnome-terminal

I am using Xubuntu 15.04. I tried to run a basic console app using MonoDevelop, the latest one. I did a new project and this appears when I try to debug it:
Could not connect to the debugger
I googled for answers and I found out that there is a problem with the gnome-terminal, that it no longer accepts the --disable-factory argument and something about unchecking the "Run on external console". I unchecked that and when I press to run, it closed it immediately.
Try executing MonoDevelop as sudo
$ sudo monodevelop
It takes Xterm as output terminal emulator.
EDIT
Run Monodevelop as root can be a BIG mistake.
Best way is to write an script that unsets GNOME desktop session and run monodevelop, as Oskar says.
Try this one (copy and paste it on vim/nano and save as monodevelop.sh)
#!/bin/bash
unset GNOME_DESKTOP_SESSION_ID
monodevelop
Put it on your home (for example) and give it execution permissions:
chmod +x ./monodevelop.sh
When you want to run it, execute ./monodevelop.sh. Or you can add it as GNOME shell application following this guide.

Build Error when run Resharper InspectCode Command Line

i have a windows phone 8 application and i want to run resharper inspect code from command line.
I have downloaded resharper command line tool from chocolatey, and installed it. But when i run the inspect code tool, there is an error like this :
'Building Windows Phone application using MSBuild 64bit is not supported'.
How to solve it? I have tried add /p:PlatformTarget=x86 and still error.
Thank you