File tree Expand file tree Collapse file tree 9 files changed +61
-15
lines changed Expand file tree Collapse file tree 9 files changed +61
-15
lines changed Original file line number Diff line number Diff line change 28
28
29
29
- uses : actions/upload-artifact@v3
30
30
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
Original file line number Diff line number Diff line change 40
40
uses : shogo82148/actions-upload-release-asset@v1
41
41
with :
42
42
upload_url : ${{ steps.create_release.outputs.upload_url }}
43
- asset_path : ./tarantool-lua-debugger-vscode- *.vsix
43
+ asset_path : ./tarantool-lua-debugger-*.vsix
Original file line number Diff line number Diff line change 7
7
"request" : " launch" ,
8
8
"runtimeExecutable" : " ${execPath}" ,
9
9
"args" : [
10
- " --extensionDevelopmentPath=${workspaceFolder}"
10
+ " --extensionDevelopmentPath=${workspaceFolder}" ,
11
+ " ${workspaceFolder}/debug-workspace"
11
12
],
12
13
"outFiles" : [
13
14
" ${workspaceFolder}/**/*.js"
14
15
],
15
- // "preLaunchTask": "npm: watch "
16
+ "preLaunchTask" : " Build Debugger "
16
17
},
17
18
{
18
19
"name" : " Server" ,
Original file line number Diff line number Diff line change 3
3
"eslint.workingDirectories" : [
4
4
" ./debugger" ,
5
5
" ./extension"
6
- ]
6
+ ],
7
+ "Lua.workspace.checkThirdParty" : false
7
8
}
Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
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 )
Original file line number Diff line number Diff line change 1
- export const EXTENSION_ID = "tarantool .tarantool-lua-debugger-vscode " ;
1
+ export const EXTENSION_ID = "tarantooldb .tarantool-lua-debugger" ;
Original file line number Diff line number Diff line change 1
1
{
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 " ,
5
5
"description" : " Tarantool Lua Debugger - tarantool lua debugger with no dependencies" ,
6
6
"displayName" : " Tarantool Lua Debugger" ,
7
7
"icon" : " resources/tarantool-logo-small_128x128.png" ,
8
8
"repository" : {
9
9
"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"
11
11
},
12
12
"author" : " usenko-timur@users.noreply.github.com" ,
13
13
"license" : " MIT" ,
You can’t perform that action at this time.
0 commit comments