update trouble 1

Documentation Version for Comments and Changes

You are invited to make any changes...add any comments.

Changes will `eventually` be merged into the offical documentation.

Leave any commnents here...


... back to index page OE documentation

Euphoria Trouble-Shooting Guide

If you get stuck, here are some things you can do:

  1. Type: guru followed by some keywords associated with your problem. For example, guru declare global include
  2. Check the list of common problems (Common Problems and Solutions).
  3. Read the relevant parts of the documentation, i.e. Euphoria Programming Language v4.0 or API Reference.
  4. Try running your program with trace:
with trace 
  1. The Euphoria Forum has a search facility. You can search the archive of all previous messages. There is a good chance that your question has already been discussed.
  2. Post a message on the forum.
  3. Visit the Euphoria IRC channel, irc://irc.freenode.net/#euphoria.

Common Problems and Solutions

Here are some commonly reported problems and their solutions.

Console window disappeared

I ran my program with euiw.exe and the console window disappeared before I could read the output.

The console window will only appear if required, and will disappear immediately when your program finishes execution. Perhaps you should code something like:

puts(1, "\nPress Enter\n") 
if getc(0) then 
end if 

at the end of your program.

You may also run your console program with eui.exe.

Press Enter

At the end of execution of my program, I see "Press Enter" and I have to hit the Enter key. How do I get rid of that?

Call free_console just before your program terminates.

include dll.e 

CGI Program Hangs / No Output

My Euphoria CGI program hangs or has no output

  1. Make sure that you are using the -batch parameter to eui. This causes Euphoria to not present the normal "Press any key to continue..." prompt when a warning or error occurs. The web server will not respond to this prompt and your application will hang waiting for ENTER to be pressed.
  2. Use the -wf parameter to write all warnings to a file instead of the console. The warnings that Euphoria will write to the console may interfere with the actual output of your web content.
  3. Look for an ex.err file in your cgi-bin directory. Turn on with trace / trace(3) to see what statements are executed (see ctrace.out in your cgi-bin). On Windows you should always use eui.exe to run CGI programs, or you may have problems with standard output. With
Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu