소스 브라우저가 지속적으로 "Collecting information" 메시지 출력

기술노트 84855

아키텍처:

All

컴포넌트:

ewgui

업데이트:

2018-02-28 오전 2:38

Introduction

Source browser continue to collect information, so that Source browser based functionality, such as

  • Go to definition/declaration of
  • Find all references to
  • Completion
  • List of symbols in Source browser window

is not working.

Collecting information

In the Source browser window, the text Collecting information is shown, without apparent progress.

Note: Source Browser can be opened from the View menu of IAR Embedded Workbench.

Note: This Technical Note only applies to IAR Embedded Workbench versions where the file common\bin\SourceIndexer.exe can be found in your installation directory.

Possible solutions

Focus

Ensure that IAR Embedded Workbench is in the foreground, that is, it is the active application.

Progress

Look for generated .pbi files and check their modification dates (e.g., in Debug/Obj). It may be that there is progress, even if it is slower than expected. Factors affecting speed include, but is not limited to, the following:

  • IAR Embedded Workbench not in foreground (see above).
  • Slow file access (e.g., network disk, USB memory, intrusive virus protection).
  • Number of files to collect info from.
  • Size of files to collect info from.
  • Load on used PC

Argument file access

The source indexer application (...\common\bin\SourceIndexer.exe) accepts arguments via a file named command.xcl.

This file can be found in the directory pointed out by the environment variable TEMP. As an example, a user Kilroy using Windows 7 might have C:\Users\Kilroy\AppData\Local\Temp.

If access to command.xcl and/or this directory is not available for some reason (e.g., inappropriate value of TEMP, inappropriate privileges, file already open) information collection will not proceeed as intended.

Background

It is expected that changes in a project are mostly incremental, thus allowing the source browser to unobtrusively collect the needed information.

Cases when more extensive information collection is required include

  • The first time a big project is built.
  • After a project Clean.
  • Re-build all.

All product names are trademarks or registered trademarks of their respective owners.

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.