[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-05-02 Thread Jorge Gorbe Moya via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG2b6c5bb995be: [lldb-vscode] Implement RestartRequest (authored by jgorbe). Changed prior to commit: https://reviews.llvm.org/D147831?vs=512305&id=518866#toc Repository: rG LLVM Github Monorepo CHANG

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-05-01 Thread walter erquinigo via Phabricator via lldb-commits
wallace accepted this revision. wallace added a comment. This revision is now accepted and ready to land. lgtm! Comment at: lldb/tools/lldb-vscode/lldb-vscode.cpp:1983 + g_vsc.debugger.SetAsync(true); + LaunchProcess(*g_vsc.last_launch_or_attach_request); + j

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-05-01 Thread Jorge Gorbe Moya via Phabricator via lldb-commits
jgorbe added inline comments. Comment at: lldb/tools/lldb-vscode/VSCode.h:152 bool is_attach; + // The process event thread normally responds to process exited events by + // shutting down the entire adapter. When we're restarting, we keep the id of labath w

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-04-28 Thread walter erquinigo via Phabricator via lldb-commits
wallace added inline comments. Comment at: lldb/source/API/SBProcess.cpp:772 - return (event.GetBroadcasterClass() == SBProcess::GetBroadcasterClass()) && - !EventIsStructuredDataEvent(event); + return Process::ProcessEventData::GetEventDataFromEvent(event.get()) != +

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-04-28 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Looks ok-ish, though I don't feel entirely comfortable approving lldb-vscode changes. @wallace, do you have any thoughts on this? Comment at: lldb/tools/lldb-vscode/VSCode.h:152 bool is_attach; + // The process event thread normally responds to proc

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-04-21 Thread Jorge Gorbe Moya via Phabricator via lldb-commits
jgorbe added a comment. Ping. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147831/new/ https://reviews.llvm.org/D147831 ___ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-04-10 Thread Jorge Gorbe Moya via Phabricator via lldb-commits
jgorbe marked 2 inline comments as done. jgorbe added inline comments. Comment at: lldb/tools/lldb-vscode/VSCode.h:146 + // arguments if we get a RestartRequest. + llvm::json::Object last_launch_or_attach_request; lldb::tid_t focus_tid; rupprecht wrote: > st

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-04-10 Thread Jorge Gorbe Moya via Phabricator via lldb-commits
jgorbe updated this revision to Diff 512305. jgorbe added a comment. Addressed review comments. - Changed `last_launch_or_attach_request` to be a `std::optional` so we can check if it has been set. Also check for `nullopt` in request_restart. - Made `request_attach` also set `last_launch_or_att

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-04-10 Thread Jordan Rupprecht via Phabricator via lldb-commits
rupprecht added inline comments. Comment at: lldb/tools/lldb-vscode/VSCode.h:146 + // arguments if we get a RestartRequest. + llvm::json::Object last_launch_or_attach_request; lldb::tid_t focus_tid; std::optional? And then we can raise an error if the client

[Lldb-commits] [PATCH] D147831: [lldb-vscode] Implement RestartRequest

2023-04-07 Thread Jorge Gorbe Moya via Phabricator via lldb-commits
jgorbe created this revision. jgorbe added reviewers: clayborg, wallace, labath, rupprecht. jgorbe added a project: LLDB. Herald added a subscriber: JDevlieghere. Herald added a project: All. jgorbe requested review of this revision. This is an optional request, but supporting it makes the experie