xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Version 1 and Version 2 of Debugging


Ignore:
Timestamp:
01/07/13 08:57:10 (9 years ago)
Author:
Antoine Martin
Comment:

add info on debug version of error.py

Legend:

Unmodified
Added
Removed
Modified
  • Debugging

    v1 v2  
    5656
    5757Unfortunately, because of the asynchronous nature of X11 calls, the error may generate this crash after the event that caused it.
    58 ''need more info on debugging this case..''
     58In this case, we may want to force all X11 calls to be synchronized (which will hurt performance and may even hide the bugs - beware of heisenbugs!), trace all X11 calls, etc.
     59[/trac/attachment/wiki/Debugging/error.py this modified error.py] allows you to do just that (see the constants at the top).
    5960
    6061== Venerable Print Statements ==
    6162When all else fails, or just when appropriate, sprinkling some {{{print}}} statements around the critical sections of code is often the best way to get a clearer picture of what is really going on..
    62