News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Threadsearch get the wrong position if a file is not saved

Started by ollydbg, July 29, 2009, 03:27:25 PM

Previous topic - Next topic

ollydbg

see the image below:


My question is: Can ThreadSearch use the unsaved buffer?

Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

dje

Hi Ollydbg.

ThreadSeach plugin is designed like C::B Search in files implementation (and most other IDE/Editors in fact), i.e. it searches in file content and does not care about open editors.
I designed it this way because it is faster, simpler and I don't want to keep synchronized editors and search results. As soon as you type a char in an editor, ThreadSearch results might be wrong, so, searching in files or editors don't make a big difference.

And I have to admit I already had problems that make me do a Ctrl+S every three typed chars ;)

Dje


ollydbg

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

oBFusCATed

Thread search could show the AnnoyingDialog, to warn you and make you choose to save all files :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

dje

IIRC, Build saves all silently...
I'll try to have a look.

Dje