Bugs item #1089071, was opened at 2004-12-22 01:38
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1089071&group_id=78018
Category: pythonwin
Group: None
>Status: Closed
>Resolution: Fixed
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.
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2005-03-05 14:27
Message:
Logged In: YES
user_id=14198
fixed in source - will be in build 204.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1089071&group_id=78018
|