[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: TortoiseProc.exe Hangs on Initial startup

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 1 Feb 2013 07:44:21 +0100

On Thu, Jan 31, 2013 at 5:44 AM, Terry Fisher <terry_at_tfisher.ca> wrote:

> 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
>

is the m_bBusy member variable still true in that state?

>
> 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:
> m_nUnversioned = 2
> m_nNormal = 27
> m_nShownUnversioned = 2
> m_nShownNormal=0
> m_nShownFiles=2
> m_arStatusarray has 29 items in it
> m_ProperyMap has 26 items -- the 26 files
> m_arListArray has 2 items (27,28)
> m_nIconFolder = 3
>
> 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 you look at the call stack, can you see where the redrawing is initiated
from? Maybe the SolidWorks dll is in there somewhere?

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3047056
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-02-01 07:44:51 CET

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.