Find in Files bug
Posted: Wed Feb 04, 2009 9:33 pm
Hello All,
I'm having a problem with the Find in Files function (binoculars) in CodeLite. I searched on the text "WDTReset" in the files in the Entire Workspace, and got only a portion of the matches that I got using grep from a command window. I tried finding the same string in the Entire Workspace, Active Project, and then Browsed to the same folder that I used grep on. All results were consistent, but incorrect. It seems the find function of CodeLite is not searching the file WDT.c for some strange reason. Anyone else run into problems using "Find in Files" or am I just the lucky one? Here is attached output of grep and FIF function:
Grep Output
if_control.c: CRAM.Control.ResetCount = WDTResetCount;
io_crom.c: * Reference watchdog reset count (WDTResetCount)
io_crom.c: else if (WDTResetCount)
wdt.c:* In the wdt test, moved the updating of WDTResetCount just after the end
wdt.c:* Made changes to update WDTResetCount only at the end of the wdt_test.
wdt.c:* Add watchdog reset count WDTResetCount per SRS.
wdt.c:uint8_t WDTResetCount = 0;
wdt.c: WDTResetCount = (uint8_t)(pld->resets_wdt3x.read.wdt_fault_count);
wdt.h:* Add watchdog reset count WDTResetCount per SRS.
wdt.h:extern uint8_t WDTResetCount;
CodeLite Find in Files Output
====== Searching for: 'WDTReset'; Match case: false ; Match whole word: false ; Regular expression: false ======
W:\emc61\software\users\kehrhardt\engine_controls\EMC61\C-nnnn-xxxx\src\if_control.c
136: [control_oss_to_as_xfer_cram] CRAM.Control.ResetCount = WDTResetCount;
W:\emc61\software\users\kehrhardt\engine_controls\EMC61\C-nnnn-xxxx\src\io_crom.c
53: * Reference watchdog reset count (WDTResetCount)
224: [reset_type] else if (WDTResetCount)
W:\emc61\software\users\kehrhardt\engine_controls\EMC61\C-nnnn-xxxx\src\wdt.h
34: * Add watchdog reset count WDTResetCount per SRS.
106: extern uint8_t WDTResetCount;
====== Number of files scanned: 304, Matches found: 5, elapsed time: 5:983 sec ======
I'm having a problem with the Find in Files function (binoculars) in CodeLite. I searched on the text "WDTReset" in the files in the Entire Workspace, and got only a portion of the matches that I got using grep from a command window. I tried finding the same string in the Entire Workspace, Active Project, and then Browsed to the same folder that I used grep on. All results were consistent, but incorrect. It seems the find function of CodeLite is not searching the file WDT.c for some strange reason. Anyone else run into problems using "Find in Files" or am I just the lucky one? Here is attached output of grep and FIF function:
Grep Output
if_control.c: CRAM.Control.ResetCount = WDTResetCount;
io_crom.c: * Reference watchdog reset count (WDTResetCount)
io_crom.c: else if (WDTResetCount)
wdt.c:* In the wdt test, moved the updating of WDTResetCount just after the end
wdt.c:* Made changes to update WDTResetCount only at the end of the wdt_test.
wdt.c:* Add watchdog reset count WDTResetCount per SRS.
wdt.c:uint8_t WDTResetCount = 0;
wdt.c: WDTResetCount = (uint8_t)(pld->resets_wdt3x.read.wdt_fault_count);
wdt.h:* Add watchdog reset count WDTResetCount per SRS.
wdt.h:extern uint8_t WDTResetCount;
CodeLite Find in Files Output
====== Searching for: 'WDTReset'; Match case: false ; Match whole word: false ; Regular expression: false ======
W:\emc61\software\users\kehrhardt\engine_controls\EMC61\C-nnnn-xxxx\src\if_control.c
136: [control_oss_to_as_xfer_cram] CRAM.Control.ResetCount = WDTResetCount;
W:\emc61\software\users\kehrhardt\engine_controls\EMC61\C-nnnn-xxxx\src\io_crom.c
53: * Reference watchdog reset count (WDTResetCount)
224: [reset_type] else if (WDTResetCount)
W:\emc61\software\users\kehrhardt\engine_controls\EMC61\C-nnnn-xxxx\src\wdt.h
34: * Add watchdog reset count WDTResetCount per SRS.
106: extern uint8_t WDTResetCount;
====== Number of files scanned: 304, Matches found: 5, elapsed time: 5:983 sec ======