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

Re: How to report problems with the cache

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2005-11-17 18:42:49 CET

Florian Storck wrote:
> Hi Stefan,
>
> although I usually have currently no heavy problems with the cache ( despite
> of the F5 update problem sometimes), I just got an idea:
>
> Would it make sense, to add a little debug/status window to the cache, which
> can be switched on for debug/monitoring purposes ? Could maybe done as tray
> icon.

The tray icon has been available a long time now. But it's only visible
if you create the DWORD registry key
HKCU\Software\TortoiseSVN\CacheTrayIcon
and set the value to something else than 0.

> Probably useful information:
> - crawler stats / current crawling dir per thread

There's only one crawler thread.

> - crawler status
> - mem usage / cached items

Hard to do. Gathering that info would take a lot of CPU.

> - number of monitored working copies
> - update events

There can be a *lot* of update events!

> Just guessing, I'm not familiar with the cache internals.
>
> This was just a sudden idea, because there seem to be often problems (real
> or not), but when you have no chance to see what is happening, you have to
> do wild guesses. Such a monitoring window would maybe helpful (ifn't it
> exists already somewhere, I didn't searched for).

I've added some debugging info in revision 4965.
If you've created the registry key mentioned above so that the tray icon
is visible, a doubleclick on that icon opens a "debug" window showing
the last crawled paths. To close the window, doubleclick on the tray
icon again....

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Thu Nov 17 18:43:30 2005

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

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