Skip to content

Commit 6c13026

Browse files
Ievgenii.MykhalevskyiIevgenii.Mykhalevskyi
Ievgenii.Mykhalevskyi
authored and
Ievgenii.Mykhalevskyi
committed
name of testing debug session should match the
1 parent d36e98c commit 6c13026

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Change Log
22

3-
## 0.5.0 - 2024-10-20
3+
## 0.5.3 - 2024-11-7
4+
5+
### Fixed
6+
7+
- Kill sourcekit-lsp as it grows in memory usage rapidly in some cases (this should be fixed in swift 6.1 https://github.com/swiftlang/sourcekit-lsp/issues/1541)
8+
- Improved stability and bug fixes
9+
10+
## 0.5.0 - 2024-11-5
411

512
### Changed
613

src/Debug/DebugConfigurationProvider.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ function runtimeWarningBreakPointCommand() {
3636

3737
export class DebugConfigurationProvider implements vscode.DebugConfigurationProvider {
3838
static Type = "xcode-lldb";
39-
static lldbName = "Xcode: App Debugger Console";
4039
static shouldSetCodeLLDB = true;
4140

4241
private _counterID = 0;
@@ -170,7 +169,7 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
170169
}
171170
const debugSession: vscode.DebugConfiguration = {
172171
type: "xcode-lldb",
173-
name: "Xcode: Run Tests & Debug",
172+
name: `Xcode: Testing: ${session.target}`,
174173
request: "launch",
175174
target: "tests",
176175
isDebuggable: isDebuggable,
@@ -348,7 +347,7 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
348347
const debugSession: vscode.DebugConfiguration = {
349348
type: "xcode-lldb",
350349
request: "attach",
351-
name: DebugConfigurationProvider.lldbName,
350+
name: dbgConfig.name,
352351
attachCommands: [
353352
`command script import '${getScriptPath()}/attach_lldb.py'`,
354353
"command script add -f attach_lldb.set_environmental_var set_environmental_var",
@@ -400,7 +399,7 @@ export class DebugConfigurationProvider implements vscode.DebugConfigurationProv
400399
const debugSession: vscode.DebugConfiguration = {
401400
type: "lldb",
402401
request: "custom",
403-
name: DebugConfigurationProvider.lldbName,
402+
name: dbgConfig.name,
404403
targetCreateCommands: [
405404
`command script import '${getScriptPath()}/attach_lldb.py'`,
406405
"command script add -f attach_lldb.set_environmental_var set_environmental_var",

0 commit comments

Comments
 (0)