Obtaining Diagnostic Output


Home » Support » Index of All Documentation » Wing IDE Reference Manual » Trouble-shooting Guide »

Wing IDE and your debug code run in separate processes, each of which can independently be configured to collect additional diagnostic log information.

Diagnosing General IDE Problems

A quick way to diagnose problems seen while working with Wing IDE is to submit a bug report from the Help menu. Please include a description of the problem and check the Include error log checkbox so we can diagnose and fix the problem.

To diagnose other problems, such as failure to start, try looking at the file error-log in your User Settings Directory.

Alternatively, run console_wing.exe (on Windows) or wing5.0 --verbose (on Linux/Unix and OS X) from the command line to display diagnostic output.

Email this output to support at wingware.com along with your system type and version, version of Wing IDE, version of Python, and any other potentially relevant details.

Diagnosing Debugger Problems

To diagnose debugger problems, set preference Debug Internals Log File to a value other than No logging and turn on preferences Use External Console and External Console Waits on Exit. When you try again, Wing will display a debug console with diagnostics.

Alternatively, copy wingdbstub.py out of your Wing IDE installation, set WINGDB_LOGFILE environment variable to <stderr> or the name of a log file on disk (or alter kLogFile inside wingdbstub.py), turn on the Accept Debug Connections preference, and try launching the following script from the command line:

import wingdbstub
print("test1")
print("test2")

This prints diagnostic output that may be easier to capture in some cases.

Email this output to support at wingware.com. Please include also the contents of the file error-log in your User Settings Directory , and also your system version, version of Wing IDE, version of Python, and any other potentially relevant details.

« 18.3. Trouble-shooting Other Known ProblemsTable of Contents19. Preferences Reference »