Skip to content

Commit 4d79085

Browse files
committed
debugger: use tarantooldb org
Change organization name to 'tarantooldb' as we were unable to restore access to TaranTOOL organization on Azure.
1 parent ebd2e20 commit 4d79085

File tree

9 files changed

+61
-15
lines changed

9 files changed

+61
-15
lines changed

.github/workflows/bundle.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ jobs:
2828

2929
- uses: actions/upload-artifact@v3
3030
with:
31-
name: tarantool-lua-debugger-vscode
32-
path: tarantool-lua-debugger-vscode-*.vsix
31+
name: tarantool-lua-debugger
32+
path: tarantool-lua-debugger-*.vsix

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ jobs:
4040
uses: shogo82148/actions-upload-release-asset@v1
4141
with:
4242
upload_url: ${{ steps.create_release.outputs.upload_url }}
43-
asset_path: ./tarantool-lua-debugger-vscode-*.vsix
43+
asset_path: ./tarantool-lua-debugger-*.vsix

.vscode/launch.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@
77
"request": "launch",
88
"runtimeExecutable": "${execPath}",
99
"args": [
10-
"--extensionDevelopmentPath=${workspaceFolder}"
10+
"--extensionDevelopmentPath=${workspaceFolder}",
11+
"${workspaceFolder}/debug-workspace"
1112
],
1213
"outFiles": [
1314
"${workspaceFolder}/**/*.js"
1415
],
15-
// "preLaunchTask": "npm: watch"
16+
"preLaunchTask": "Build Debugger"
1617
},
1718
{
1819
"name": "Server",

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"eslint.workingDirectories": [
44
"./debugger",
55
"./extension"
6-
]
6+
],
7+
"Lua.workspace.checkThirdParty": false
78
}

debug-workspace/.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Tarantool Lua Debug",
9+
"type": "lua-tarantool",
10+
"request": "launch",
11+
"program": {
12+
"tarantool": "/home/tsafin/datetime/tarantoolt/build/src/tarantool",
13+
"file": "${file}",
14+
}
15+
}
16+
]
17+
}

debug-workspace/debug-dbg.lua

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
local date = require 'datetime'
2+
local fiber = require('fiber')
3+
4+
print('1.out:', fiber.id())
5+
local function fiber_function()
6+
print('1.in:', "I'm a fiber")
7+
print('2.in:', fiber.id())
8+
fiber.yield()
9+
fiber.sleep(10)
10+
print('3.in:')
11+
end
12+
print('2.out:', fiber.id())
13+
14+
local fiber_object = fiber.create(fiber_function)
15+
print('3.out:', "Fiber started")
16+
17+
local T = date.new{hour = 3, tzoffset = '+0300'}
18+
print('4.out:', T)
19+
20+
local fmt = '%Y-%m-%dT%H%M%z'
21+
local S = T:format(fmt)
22+
print('5.out:', S)
23+
local T1 = date.parse(S, {format = fmt})
24+
print('6.out:', T1)
25+
fiber.sleep(1.5)
26+
27+
os.exit(0)

extension/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const EXTENSION_ID = "tarantool.tarantool-lua-debugger-vscode";
1+
export const EXTENSION_ID = "tarantooldb.tarantool-lua-debugger";

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "tarantool-lua-debugger-vscode",
3-
"publisher": "tarantool",
4-
"version": "0.4.0",
2+
"name": "tarantool-lua-debugger",
3+
"publisher": "tarantooldb",
4+
"version": "0.4.1",
55
"description": "Tarantool Lua Debugger - tarantool lua debugger with no dependencies",
66
"displayName": "Tarantool Lua Debugger",
77
"icon": "resources/tarantool-logo-small_128x128.png",
88
"repository": {
99
"type": "github",
10-
"url": "https://github.com/usenko-timur/tarantool-local-lua-debugger-vscode.git"
10+
"url": "https://github.com/tarantool/tarantool-lua-debugger-vscode.git"
1111
},
1212
"author": "usenko-timur@users.noreply.github.com",
1313
"license": "MIT",

0 commit comments

Comments
 (0)