mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-06-01 02:56:28 +03:00
Small fix in DAP protocol implementation.
This commit is contained in:
@@ -222,7 +222,7 @@ void DebuggerClientDap::requestInitialize( const SessionId& sessionId,
|
||||
{ DAP_ADAPTER_ID, "ecode-dap" },
|
||||
{ DAP_LINES_START_AT1, mProtocol.linesStartAt1 },
|
||||
{ DAP_COLUMNS_START_AT2, mProtocol.columnsStartAt1 },
|
||||
{ DAP_PATH, ( mProtocol.pathFormatURI ? DAP_URI : DAP_PATH ) },
|
||||
{ DAP_PATH_FORMAT, ( mProtocol.pathFormatURI ? DAP_URI : DAP_PATH ) },
|
||||
{ DAP_SUPPORTS_VARIABLE_TYPE, true },
|
||||
{ DAP_SUPPORTS_VARIABLE_PAGING, false },
|
||||
{ DAP_SUPPORTS_RUN_IN_TERMINAL_REQUEST, true },
|
||||
|
||||
@@ -1303,7 +1303,7 @@ void DebuggerPlugin::replaceKeysInJson(
|
||||
j = std::move( argsArr );
|
||||
continue;
|
||||
} else if ( runConfig && val == KEY_ENV && buildConfig ) {
|
||||
j = nlohmann::json{};
|
||||
j = nlohmann::json::object();
|
||||
for ( const auto& env : buildConfig->envs() )
|
||||
j[env.first] = env.second;
|
||||
} else if ( val == KEY_STOPONENTRY ) {
|
||||
|
||||
Reference in New Issue
Block a user