Table of Contents

Eric3 Source Documentation: Debugger  
-í
{©>cs3dZ
dkT
defd„ƒYZdS(s2
Module implementing the Exception Logger widget.
(s*sExceptionLoggercs_
tZdZed„Z6d„ZCd„ZTd„Zmd„Zsd„Z	RS(s
    Class implementing the Exception Logger widget.
    
    This class displays a log of all exceptions having occured during
    a debugging session.
    cs7ti||ƒ|idƒ|i|idƒƒ |i|idƒƒ!|idƒ#|i	|t
dƒ$|iƒ&ti
||idƒƒ/t|ƒ|_0|ii|idƒ|iƒ1|ii|idƒ|iƒ3t|ƒ|_4|ii|idƒ|iƒd	S(
sx
        Constructor
        
        Arguments
        
            parent -- the parent widget of this widget
        is
Exceptionss	Exceptioniÿÿÿÿs:contextMenuRequested(QListViewItem *, const QPoint &, int)sB<b>Exceptions Logger</b><p>This windows shows a trace of all exceptions, that have occured during the last debugging session. Initially only the exception type and exception message are shown. After the expansion of this entry, the complete call stack as reported by the client is show with the most recent call first.</p>sShow sourcesClearN(s	QListViews__init__sselfsparentssetRootIsDecorateds
setCaptionstrUtf8s	addColumns
setSortingsconnectsSIGNALshandleContextMenus
QWhatsThissadds
QPopupMenusmenus
insertItems
handleOpensclearsbackMenu(sselfsparent((sF/home/detlev/Development/Python/Eric/eric3/Debugger/ExceptionLogger.pys__init__s
	""cs6@A|iƒdS(s(
        Protected method of QListView. 
        
        Reimplemented to disable expanding/collapsing
        of items when double-clicking. Instead the double-clicked entry is opened.
        
        Arguments
        
            mouseEvent -- the mouse event (QMouseEvent), ignored
        N(sselfs
handleOpen(sselfs
mouseEvent((sF/home/detlev/Development/Python/Eric/eric3/Debugger/ExceptionLogger.pyscontentsMouseDoubleClickEvent6s
csDCNO|tjoP|ii|ƒnR|ii|ƒdS(sT
        Private slot to show the context menu of the listview.
        
        Arguments
        
            itm -- the item, that was right clicked (QListViewItem)
            
            coord -- the global coordinates of the mouse pointer (QPoint)
            
            col -- the column number of the mouse pointer (int)
        N(sitmsNonesselfsbackMenuspopupscoordsmenu(sselfsitmscoordscol((sF/home/detlev/Development/Python/Eric/eric3/Debugger/ExceptionLogger.pyshandleContextMenuCscsäT[\y]t|ƒ}Wn-^_t|`|idƒƒadSnXc|d \}}d|djoet|d|ƒ}ngt|d||fƒ}jx5|dDj]&\}}kt|d||fƒq³WdS(s—
        Public slot to handle the arrival of a new exception.
        
        Arguments
        
            status -- exception information
        sAAn unhandled exception occured. See the shell window for details.Niss%ss%s, %ss%s, %d(sevalsstatussexclists
QListViewItemsselfstrUtf8sexctypesmsgsitmsfnsln(sselfsstatussexctypesitmslnsmsgsexclistsfn((sF/home/detlev/Development/Python/Eric/eric3/Debugger/ExceptionLogger.pysaddExceptionTs	csmpq|iƒdS(sZ
        Public slot to clear the listview upon starting a new debugging session.
        N(sselfsclear(sself((sF/home/detlev/Development/Python/Eric/eric3/Debugger/ExceptionLogger.pysdebuggingStartedmscs¨svw|iƒ}y|iƒtjozdSn|t|idƒƒ}}|idƒ}~y1|i
tdƒ|dt|dƒfƒWn
€nXdS(sD
        Private slot to handle a double click on an entry.
        Nis,s
pythonFilei(
sselfscurrentItemsitmsparentsNonesstrstextsentryssplits	entryListsemitsPYSIGNALsint(sselfsitmsentrys	entryList((sF/home/detlev/Development/Python/Eric/eric3/Debugger/ExceptionLogger.pys
handleOpenss1(
s__name__s
__module__s__doc__sNones__init__scontentsMouseDoubleClickEventshandleContextMenusaddExceptionsdebuggingStarteds
handleOpen(((sF/home/detlev/Development/Python/Eric/eric3/Debugger/ExceptionLogger.pysExceptionLogger
s"
N(s__doc__sqts	QListViewsExceptionLogger(sExceptionLogger((sF/home/detlev/Development/Python/Eric/eric3/Debugger/ExceptionLogger.pys?s


Table of Contents

This document was automatically generated by HappyDoc version 2.1