RE: Re: TortoiseProc.exe Hangs on Initial startup
From: Terry Fisher <terry_at_tfisher.ca>
Date: Wed, 30 Jan 2013 20:44:55 -0800 (PST)
Unchecking "Use Aero dialogs" does not fix the problem.
The project I am using to debug the problem has 29 items in the directory: 26 files belong to the project and are unmodified, 2 are unversioned SolidWorks files, + .svn folder.
I paid more attention to the status of the dialog when its in the "hung" state. The ListCtrl display is empty, even though the 2, unversioned files should be displayed
I inserted some debugging code which is conditional on a global variable. This allows me to break at the OnPaint function in the "hung" state and then walk through some debug code.
I attached to the hung process, and set a breakpoint at the OnPaint function and looked at the contents of the class members.
According the the current state of the class:
GetItemCount() at this point does return 2, even though nothing has been drawn. I did notice that once I enable the debug code (which calls ValidateRect(0)), the CSVNStatusListCtrl::OnNMCustomDraw() function gets called (for some reason, I had a breakpoint set there)...this may be normal, but something I noticed.
If I copy the directory to a 64 bit machine without SolidWorks installed, the dialog initializes properly, but the icons are the standard "unknown file type" icons.
It appears there is something going on with the ListCtrl...it thinks it has 2 items, but hasn't drawn any.
Sorry for the long reply...just trying to help.
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
This is an archived mail posted to the TortoiseSVN Users mailing list.