Bugs item #1089071, was opened at 2004-12-21 14:38
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1089071&group_id=78018
Category: pythonwin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Mark E (markenglish)
Assigned to: Nobody/Anonymous (nobody)
Summary: Debugging with debug build of Pythonwin loops with assert
Initial Comment:
Build debug version of Pythonwin (Pythonwin_d.exe)
Run it.
Create a test script like:
------------------------
def RunTest():
"""Print something"""
print "RunTest()"
def main():
"""Main entry point for module"""
RunTest()
if __name__ == "__main__":
main()
----------------------
Put a breakpoint inside "RunTest()".
Run in debugger. Stops at breakpoint correctly.
Continue.
ASSERT dialog box comes up referencing "thrdcore.cpp"
line 173 which is part of MFC threading code.
Referenced lines of code are:
<code>
#ifdef _DEBUG
if (pState->m_nDisablePumpCount != 0)
{
TRACE(traceAppMsg, 0, "Error:
CWinThread::PumpMessage called when not
permitted.\n");
ASSERT(FALSE);
}
#endif
</code>
Not particularly severe in itself but might point at source
of other bugs.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1089071&group_id=78018
|