Author Topic: Search & Replace - long pause then rebuild tag file  (Read 1641 times)

rh

  • Senior Community Member
  • Posts: 126
  • Hero Points: 6
Search & Replace - long pause then rebuild tag file
« on: September 28, 2010, 09:08:30 pm »
This is something I've never seen before.  But then I've not been using this workspace with 4 large projects in it for long.

I run a simple search & replace.  After pressing 'y' to replace the last item, the UI freezes - for no more than 15-30 seconds.  Shortly after that, the progress dialog appears and tagging begins.  The tagging takes about 5-10 seconds.

I have the default options which allow background tagging and updating tags whenever possible.  It's just odd that this always fires immediately after the last replace.

ScottW, VP of Dev

  • Senior Community Member
  • Posts: 1471
  • Hero Points: 64
Re: Search & Replace - long pause then rebuild tag file
« Reply #1 on: September 30, 2010, 06:17:44 pm »
Could you run the profiler on this and send us the results? That will help us figure out what's going on.

Here's what to do:
1) Open SlickEdit and get ready to do the kind of search and replace that triggers this behavior.
2) Run the following command from the SlickEdit command line: profile on.
3) Do the search and replace and wait for the tagging to finish.
4) Run the following command: profile save "<filename>", where <filename> is the name of a file to save it to, like "profile.txt".

Then post the results here so we can see what's going on.  Thanks!