トラブルシューティング: Delphi LSP

提供: RAD Studio
移動先: 案内検索

コード支援機能のリファレンス への移動

To troubleshoot the Delphi LSP, follow the steps:

DelphiLSP fails to work in certain files

  • Make sure the files are UTF8 encoded and have consistent line endings.

CTRL+Click fails while compiling works

  • Make sure the symbol reference info ($Y) is on.
  • Make sure the source file containing the declaration of the clicked symbol is either in the search path or the browsing path. This is only required if DCU or DCP files are found in the search path.
  • Switch from release to debug configuration.
  • Rebuild the project and all its dependencies.
  • If you click or hover over a declaration, the symbol is not visible to the compiler. So, DelphiLSP cannot assist you.
  • Review if the cursor is placed within an IFDEF. Keep in mind that DelphiLSP only works within active Macros.

不具合のファイリングとログ ファイル

ログ ファイルを有効にするには、レジストリを開きます:

  • キーを作成:

HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\LSP

  • DWORD 値を、名前 DelphiLSPLog、16 進数値 $ff または 10 進数値 255 で作成

ログ ファイルは C:\Users\<User>\AppData\Local\Temp\DelphiLSP にできます。

Quality Portal のすべてのバグ レポートにログ ファイルを必ず含めてください。 問題の原因を追跡するのに非常に役立ちます。

メモ: IDE でユニットが変更された場合、ログ ファイルにはソース コードが含まれます。 機密性が心配な場合は、ログ ファイルをバグ レポートのケース番号とともに、次の安全な電子メールアドレスに非公開で送信できます: ss-qa@embarcadero.com.

関連項目

コード支援機能のリファレンス