[IFT] Adjust Java and Python debug lessons for the new UI

Also use 'Current' run configuration instead of generated one

IJ-CR-103403

GitOrigin-RevId: 4e1f775e40e012648f16209385f2d079081ba910
This commit is contained in:
Alexey Merkulov
2023-02-17 21:07:26 +01:00
committed by intellij-monorepo-bot
parent 8f63bb4da5
commit acb4ad0ae8
4 changed files with 10 additions and 53 deletions

View File

@@ -157,7 +157,7 @@ java.find.help.link=Search for a target within a file
java.debug.workflow.hotswap.disabled.warning=The <strong>Hot Swap</strong> feature is disabled in the IDE settings. \
Enable it in {0} | {1} | {2} <strong>\u2192</strong> {3} or just <callback id="{4}">click to activate</callback>.
java.debug.workflow.rebuild=For big programs, rerun can take a long time. When you find a mistake in a pure method, you can just rebuild \
the project and apply the <strong>Hot Swap</strong> JVM feature. Let''s build the project: {0} or {1}.
the project and apply the <strong>Hot Swap</strong> JVM feature. Let''s build the project: {0}.
java.debug.workflow.confirm.hot.swap=Confirm the <strong>Hot Swap</strong> replacement.
java.debug.workflow.no.confirmation=<strong>Hot Swap</strong> is done automatically in the background. You may see a corresponding message in the lower-left corner.
java.debug.workflow.drop.frame=We patched our method, but right now we are still executing obsolete {0}, and it will throw the \

View File

@@ -101,10 +101,8 @@ class JavaDebugLesson : CommonDebugLesson("java.debug.workflow") {
}
}
highlightButtonById("CompileDirty")
task("CompileDirty") {
text(JavaLessonsBundle.message("java.debug.workflow.rebuild", action(it), icon(AllIcons.Actions.Compile)))
text(JavaLessonsBundle.message("java.debug.workflow.rebuild", action(it)))
if (isAlwaysHotSwap()) {
addFutureStep {
subscribeForMessageBus(Notifications.TOPIC, object : Notifications {