目录

Speeding Up Native Debugging Startup

Large projects usually take a long time to start native debugging. To boost development and debugging efficiency, the native debugging startup acceleration feature is introduced since version 26.0.0. After this feature is enabled, the debugging server stays alive after the first debugging session, which significantly reduces the connection time for subsequent startups.

Constraints

Procedure

Choose File > Settings (DevEco Studio > Preferences/Settings on macOS) > Build, Execution, Deployment > Debugger > C++ Debugger, then select Keep LLDB client alive to enable native debugging startup acceleration.

Alternatively, navigate to this setting via hyperlinks in the debugging console.

After this feature is enabled and debugging is started, a debugging server icon appears at the bottom of DevEco Studio. Do not stop the server during debugging.

Enabling this feature consumes memory and disk space. You can manually release resources when debugging is not in progress: