Wiki

Clone wiki

delphi-smart-code-completion / Contributing

Contributing

Logging

If you build the DLL in debug configuration, it will enable debug logging to the IDE's messages. It logs most of the wrapper calls which may give a hint to what is going on under the hood and point you to an error or misbehave.

Debugging

The best way to debug the IDE expert is to launch the IDE as host application for the DLL (symbol level debugging will be possible). It is also recommended to specify different registry key for the IDE configuration so the debugged IDE won't interfere with your debugging environment (-r TheKey command line argument). Make sure to add the expert to the modified registry key:

HKCU\Software\Embarcadero\{TheKey}\{IDE version}\Experts\SmartCodeCompletion=Path\To\SmartCodeCompletion.dll

Updated