Skip to content

Commit 6116611

Browse files
committed
rename custom-debugger -> tdlv
1 parent 0dc331a commit 6116611

File tree

26 files changed

+53
-50
lines changed

26 files changed

+53
-50
lines changed

.github/workflows/build-custom-debugger.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Release Custom Debugger
1+
name: Build and Release Tdlv
22

33
on:
44
push:
@@ -42,16 +42,16 @@ jobs:
4242
go-version: '1.23'
4343
cache: true
4444

45-
- name: Build custom-debugger
45+
- name: Build tdlv
4646
run: |
47-
cd custom-debugger
47+
cd tdlv
4848
GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o tdlv-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goos == 'windows' && '.exe' || '' }} .
4949
5050
- name: Upload build artifact
5151
uses: actions/upload-artifact@v4
5252
with:
5353
name: tdlv-${{ matrix.goos }}-${{ matrix.goarch }}
54-
path: custom-debugger/tdlv-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goos == 'windows' && '.exe' || '' }}
54+
path: tdlv/tdlv-${{ matrix.goos }}-${{ matrix.goarch }}${{ matrix.goos == 'windows' && '.exe' || '' }}
5555

5656
release:
5757
needs: build

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
go-simple:
2-
cd custom-debugger && go clean && go build -o ../tdlv.build && cd ../example/go/simple-workflow && ../../../tdlv.build --lang=go
2+
cd tdlv && go clean && go build -o ../tdlv.build && cd ../example/go/simple-workflow && ../../../tdlv.build --lang=go
33

44
go-structured-ide-integrated:
5-
cd custom-debugger && go clean && go build -o ../tdlv.build && cd ../example/go/structured-workflow/replay-debug-ide-integrated && ../../../../tdlv.build --lang=go
5+
cd tdlv && go clean && go build -o ../tdlv.build && cd ../example/go/structured-workflow/replay-debug-ide-integrated && ../../../../tdlv.build --lang=go
66

77
go-structured-standalone:
8-
cd custom-debugger && go clean && go build -o ../tdlv.build && cd ../example/go/structured-workflow/replay-debug-standalone && ../../../../tdlv.build --lang=go
8+
cd tdlv && go clean && go build -o ../tdlv.build && cd ../example/go/structured-workflow/replay-debug-standalone && ../../../../tdlv.build --lang=go
99

1010
python:
11-
cd custom-debugger && go clean && go build -o ../tdlv.build && cd .. && ./tdlv.build --lang=python
11+
cd tdlv && go clean && go build -o ../tdlv.build && cd .. && ./tdlv.build --lang=python
1212

1313
# Node.js/TypeScript replayer
1414
js:
15-
cd custom-debugger && go clean && go build -o ../tdlv.build && cd ../example/js && ../../tdlv.build --lang=js
15+
cd tdlv && go clean && go build -o ../tdlv.build && cd ../example/js && ../../tdlv.build --lang=js
1616

1717
build:
18-
cd custom-debugger && go clean && go build -o ../tdlv.build
18+
cd tdlv && go clean && go build -o ../tdlv.build
1919

2020
run-ide:
2121
cd jetbrains-plugin && ./gradlew runIde

docs/developer-guide.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
## Setup
44

55
- Clone repository.
6-
- Build custom-debugger: `go build` in custom-debugger/.
6+
- Build tdlv: `go build` in tdlv/.
77
- Build Jetbrainsplugin: see [jetbrains plugin readme](../jetbrains-plugin/README.md)
88
- Build vscode extension: see [vscode extension readme](../vscode-debugger-extension/README.md)
99
## Structure
1010

11-
- custom-debugger/: Intercept message from language debugger.
11+
- tdlv/: Intercept message from language debugger.
1212
- jetbrains-plugin/: Jetbrains Plugin (support Go).
1313
- vscode-debugger-extension: Vscode Extension (support Go, Python, Js/TS).
1414
- replayer-adapter-go/: Inject sentinel breakpoints for Temporal Go SDK.

jetbrains-plugin/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This plugin provides debugging support for Temporal workflows using the custom `
1111

1212
## Quick Start
1313

14-
1. **Open Your Project**: Open a project containing a wf-debugger setup (with `Makefile`, `custom-debugger/`, and `my-wf/` directories)
14+
1. **Open Your Project**: Open a project containing a wf-debugger setup (with `Makefile`, `tdlv/`, and `my-wf/` directories)
1515

1616
2. **Create Debug Configuration**:
1717
- Right-click on any file in your wf-debugger project
@@ -33,7 +33,7 @@ This plugin provides debugging support for Temporal workflows using the custom `
3333

3434
### Working Directory
3535
- **Required**: Path to your wf-debugger project root
36-
- **Auto-detection**: The plugin automatically finds the project root containing `Makefile`, `custom-debugger/`, and `my-wf/`
36+
- **Auto-detection**: The plugin automatically finds the project root containing `Makefile`, `tdlv/`, and `my-wf/`
3737

3838
### Additional Arguments
3939
- **Default**: `-p 60000` (sets proxy port)
@@ -48,7 +48,7 @@ Your wf-debugger project should contain:
4848
```
4949
wf-debugger/
5050
├── Makefile # Build configuration
51-
├── custom-debugger/ # Custom delve wrapper source
51+
├── tdlv/ # Custom delve wrapper source
5252
├── my-wf/ # Your workflow code
5353
└── build # Generated binary (created automatically)
5454
```
@@ -66,11 +66,11 @@ When you start debugging, the plugin:
6666

6767
### "Could not find wf-debugger project root"
6868
- Ensure your working directory is within a valid wf-debugger project
69-
- Check that `Makefile`, `custom-debugger/`, and `my-wf/` directories exist
69+
- Check that `Makefile`, `tdlv/`, and `my-wf/` directories exist
7070

7171
### "Failed to build tdlv binary"
7272
- Ensure you have Go installed and configured
73-
- Check that the `custom-debugger/` directory contains valid Go source code
73+
- Check that the `tdlv/` directory contains valid Go source code
7474
- Verify that `make` is available in your PATH
7575

7676
### "Go remote debug configuration not available"

jetbrains-plugin/src/main/java/com/temporal/wfdebugger/debug/WfDebugConfigurationProducer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private boolean isWfDebuggerProject(File dir) {
110110

111111
// Check for characteristic files/directories of a wf-debugger project
112112
boolean hasMakefile = new File(dir, "Makefile").exists();
113-
boolean hasDelveWrapper = new File(dir, "custom-debugger").isDirectory();
113+
boolean hasDelveWrapper = new File(dir, "tdlv").isDirectory();
114114
boolean hasMyWf = new File(dir, "my-wf").isDirectory();
115115

116116
return hasMakefile && hasDelveWrapper && hasMyWf;

jetbrains-plugin/src/main/java/com/temporal/wfdebugger/debug/WfDebugRunConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private void initializeDefaults(@NotNull Project project) {
6666

6767
private boolean isWfDebuggerProject(File dir) {
6868
return new File(dir, "Makefile").exists() &&
69-
new File(dir, "custom-debugger").exists() &&
69+
new File(dir, "tdlv").exists() &&
7070
new File(dir, "my-wf").exists();
7171
}
7272

@@ -89,7 +89,7 @@ public void checkConfiguration() throws RuntimeConfigurationException {
8989
// Check if we can find the wf-debugger project structure
9090
if (!findWfDebuggerRoot(workingDir)) {
9191
throw new RuntimeConfigurationWarning(
92-
"Could not find wf-debugger project structure (Makefile, custom-debugger, my-wf) " +
92+
"Could not find wf-debugger project structure (Makefile, tdlv, my-wf) " +
9393
"in or above the working directory. Make sure the working directory is within a wf-debugger project.");
9494
}
9595
}

jetbrains-plugin/src/main/java/com/temporal/wfdebugger/debug/WfDebugRunConfigurationEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ private void createUI() {
5959
+
6060
"To build tdlv, use the Makefile in your wf-debugger project that contains:<br/>" +
6161
"• Makefile<br/>" +
62-
"• custom-debugger/ directory<br/>" +
62+
"• tdlv/ directory<br/>" +
6363
"• my-wf/ directory</small></html>");
6464
infoLabel.setForeground(javax.swing.UIManager.getColor("Label.disabledForeground"));
6565

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Custom Debugger
1+
# Tdlv
22

33
A multi-language debugger for Temporal workflows that supports Go, Python, and JavaScript.
44

@@ -14,16 +14,16 @@ The custom debugger provides debugging capabilities for Temporal workflows by:
1414

1515
```bash
1616
# Start with default settings (Go language, port 60000)
17-
./custom-debugger
17+
./tdlv
1818

1919
# Specify language and port
20-
./custom-debugger -lang python -p 60001
20+
./tdlv -lang python -p 60001
2121

2222
# Auto-install missing debuggers
23-
./custom-debugger -lang js -install
23+
./tdlv -lang js -install
2424

2525
# Suppress dependency check messages
26-
./custom-debugger -quiet
26+
./tdlv -quiet
2727
```
2828

2929
## Supported Languages
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module custom-debugger
1+
module tdlv
22

33
go 1.23.11
44

File renamed without changes.

0 commit comments

Comments
 (0)