Skip to content

Commit c22164d

Browse files
committed
chore: remove rr debugger install option
Log: Change-Id: I5d94bac93f14d245a9bdcdc34377a59001367201
1 parent 8534046 commit c22164d

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,6 @@ doc/html/*
7474
# union code gen
7575
.unioncode
7676
*.unioncode
77+
.cursor/
7778
.cursorindexingignore
78-
.specstory
79+
.specstory/

src/plugins/debugger/reversedebug/reversedebugger.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,11 +156,6 @@ void installRR(const QString &id)
156156
if (id == "apt") {
157157
auto windowService = dpfGetService(dpfservice::WindowService);
158158
windowService->installPackages(ReverseDebugger::tr("Reverse debugger"), "apt", { "rr" }, nullptr);
159-
} else if (id == "wget") {
160-
auto terminalService = dpfGetService(dpfservice::TerminalService);
161-
auto command = "cd /tmp && wget https://github.com/rr-debugger/rr/releases/download/5.5.0/rr-5.5.0-Linux-x86_64.deb && sudo dpkg -i rr-5.5.0-Linux-x86_64.deb";
162-
uiController.switchContext(dpfservice::TERMINAL_TAB_TEXT);
163-
terminalService->sendCommand(command);
164159
}
165160
}
166161

@@ -176,7 +171,7 @@ bool ReverseDebugger::checkRRInstalled()
176171
auto windowService = dpfGetService(dpfservice::WindowService);
177172
QString message = tr("Can not find rr debugger, please install it first. "
178173
"If installation is not possible or the software does not work after installation, you can try installing a higher version of rr through GitHub and then attempt to use it.");
179-
windowService->notifyWithCallback(0, tr("Reverse Debug"), message, QStringList{"apt", tr("Install by apt"), "wget", tr("Install by Wget")}, installRR);
174+
windowService->notifyWithCallback(0, tr("Reverse Debug"), message, QStringList{"apt", tr("Install by apt")}, installRR);
180175
process.close();
181176
return false;
182177
}

0 commit comments

Comments
 (0)