Opened 6 months ago

Closed 5 months ago

#17417 closed defect (fixed)

Debug mode not working on Windows

Reported by: Eric Pettersen Owned by: Greg Couch
Priority: moderate Milestone: 1.10
Component: Platform Version:
Keywords: Cc: chimera-programmers
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

On Windows, ChimeraX does not start up or show any windows when using debug mode, either by using the Debug entry in the Start menu, or by adding --debug after the ending quote in the Properties inspector. Tried both Windows 10 and Windows 11, and ChimeraX 1.9 and 1.10 daily build.

Makes it very hard to track down particular Windows problems (e.g. #17366)

Change History (1)

comment:1 by Greg Couch, 5 months ago

Cc: chimera-programmers added
Resolution: fixed
Status: assignedclosed

Got --debug to work, but not all debug output goes to __stdout__ or __stderr__. For example, opening a bild file under --debug results in the following in the log:

open A:\cygwin64\home\gregc\src\chimerax\testdata\example.bild format bildOpened BILD data containing 24 objects
A:\cygwin64\home\gregc\src\chimerax\ChimeraX.app\bin\Lib\site-packages\chimerax\core\commands\cli.py:3219: ResourceWarning: unclosed file <_io.BufferedReader name='A:\\cygwin64\\home\\gregc\\src\\chimerax\\testdata\\example.bild'>
result = ci.function(session, **kw_args)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Note: See TracTickets for help on using tickets.