Skip to content

Commit

Permalink
cppQML and Slint: Organize a bit better debug ports on settings.json
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Riesco <[email protected]>
  • Loading branch information
andreriesco committed Aug 5, 2024
1 parent 673cb05 commit 698b772
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions cppQML/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"host_ip": "",
"torizon_workspace": "${workspaceFolder}",
"torizon_debug_ssh_port": "2231",
"torizon_debug_port1": "",
"torizon_debug_port2": "2232",
"torizon_debug_port3": "2233",
"torizon_debug_port1": "2232",
"torizon_debug_port2": "2233",
"torizon_debug_port3": "",
"torizon_gpu": "",
"torizon_arch": "",
"wait_sync": "1",
Expand Down
22 changes: 11 additions & 11 deletions cppQML/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@
"-vv",
"-l",
"-p",
"${config:torizon_debug_port3}",
"${config:torizon_debug_port2}",
"-c",
"nc.traditional ${config:torizon_ip} ${config:torizon_debug_port3}"
"nc.traditional ${config:torizon_ip} ${config:torizon_debug_port2}"
],
"problemMatcher": [{
"pattern": [{
Expand Down Expand Up @@ -207,7 +207,7 @@
"-o",
"StrictHostKeyChecking=no",
"${config:torizon_run_as}@${config:torizon_ip}",
"cd ${config:torizon_app_root} && export QT_LOGGING_RULES=\"*.debug=true; qt.*.debug=false\" && gdbserver localhost:${config:torizon_debug_port2} __change__ -qmljsdebugger=port:${config:torizon_debug_port3},block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation"
"cd ${config:torizon_app_root} && export QT_LOGGING_RULES=\"*.debug=true; qt.*.debug=false\" && gdbserver localhost:${config:torizon_debug_port1} __change__ -qmljsdebugger=port:${config:torizon_debug_port2},block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation"
],
"dependsOrder": "sequence",
"dependsOn": [
Expand All @@ -233,9 +233,9 @@
}
},
"args": [
"localhost:${config:torizon_debug_port2}",
"localhost:${config:torizon_debug_port1}",
"${workspaceFolder}/build-local/bin/__change__",
"-qmljsdebugger=port:${config:torizon_debug_port3},block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation"
"-qmljsdebugger=port:${config:torizon_debug_port2},block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation"
],
"problemMatcher": [
"$gcc"
Expand All @@ -262,7 +262,7 @@
"-o",
"StrictHostKeyChecking=no",
"${config:torizon_run_as}@${config:torizon_ip}",
"cd ${config:torizon_app_root} && export QT_LOGGING_RULES=\"*.debug=true; qt.*.debug=false\" && gdbserver localhost:${config:torizon_debug_port2} __change__ -qmljsdebugger=port:${config:torizon_debug_port3},block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation"
"cd ${config:torizon_app_root} && export QT_LOGGING_RULES=\"*.debug=true; qt.*.debug=false\" && gdbserver localhost:${config:torizon_debug_port1} __change__ -qmljsdebugger=port:${config:torizon_debug_port2},block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation"
],
"dependsOrder": "sequence",
"dependsOn": [
Expand Down Expand Up @@ -291,7 +291,7 @@
"-o",
"StrictHostKeyChecking=no",
"${config:torizon_run_as}@${config:torizon_ip}",
"cd ${config:torizon_app_root} && export QT_LOGGING_RULES=\"*.debug=true; qt.*.debug=false\" && gdbserver localhost:${config:torizon_debug_port2} __change__ -qmljsdebugger=port:${config:torizon_debug_port3},block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation"
"cd ${config:torizon_app_root} && export QT_LOGGING_RULES=\"*.debug=true; qt.*.debug=false\" && gdbserver localhost:${config:torizon_debug_port1} __change__ -qmljsdebugger=port:${config:torizon_debug_port2},block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation"
],
"dependsOrder": "sequence",
"dependsOn": [
Expand Down Expand Up @@ -792,7 +792,7 @@
"-c",
"${env:HOME}/.apollox/scripts/updateQtCreatorIni.ps1",
"${workspaceFolder}",
"${config:torizon_ip}:${config:torizon_debug_port2}",
"${config:torizon_ip}:${config:torizon_debug_port1}",
"__change__",
"arm64"
],
Expand All @@ -814,7 +814,7 @@
"-c",
"${env:HOME}/.apollox/scripts/updateQtCreatorIni.ps1",
"${workspaceFolder}",
"${config:torizon_ip}:${config:torizon_debug_port2}",
"${config:torizon_ip}:${config:torizon_debug_port1}",
"__change__",
"arm"
],
Expand All @@ -836,7 +836,7 @@
"-c",
"${env:HOME}/.apollox/scripts/updateQtCreatorIni.ps1",
"${workspaceFolder}",
"${config:torizon_ip}:${config:torizon_debug_port2}",
"${config:torizon_ip}:${config:torizon_debug_port1}",
"__change__",
"amd64"
],
Expand All @@ -858,7 +858,7 @@
"-c",
"${env:HOME}/.apollox/scripts/updateQtCreatorIni.ps1",
"${workspaceFolder}",
"localhost:${config:torizon_debug_port2}",
"localhost:${config:torizon_debug_port1}",
"__change__",
"local"
],
Expand Down
4 changes: 2 additions & 2 deletions cppSlint/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"host_ip": "",
"torizon_workspace": "${workspaceFolder}",
"torizon_debug_ssh_port": "2231",
"torizon_debug_port1": "",
"torizon_debug_port2": "2232",
"torizon_debug_port1": "2232",
"torizon_debug_port2": "",
"torizon_debug_port3": "",
"torizon_gpu": "",
"torizon_arch": "",
Expand Down
8 changes: 4 additions & 4 deletions cppSlint/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"-o",
"StrictHostKeyChecking=no",
"${config:torizon_run_as}@${config:torizon_ip}",
"cd ${config:torizon_app_root} && gdbserver localhost:${config:torizon_debug_port2} __change__"
"cd ${config:torizon_app_root} && gdbserver localhost:${config:torizon_debug_port1} __change__"
],
"dependsOrder": "sequence",
"dependsOn": [
Expand All @@ -38,7 +38,7 @@
"env": {}
},
"args": [
"localhost:${config:torizon_debug_port2}",
"localhost:${config:torizon_debug_port1}",
"${workspaceFolder}/build/x86_64/__change__",
],
"problemMatcher": [
Expand All @@ -64,7 +64,7 @@
"-o",
"StrictHostKeyChecking=no",
"${config:torizon_run_as}@${config:torizon_ip}",
"cd ${config:torizon_app_root} && gdbserver localhost:${config:torizon_debug_port2} __change__"
"cd ${config:torizon_app_root} && gdbserver localhost:${config:torizon_debug_port1} __change__"
],
"dependsOrder": "sequence",
"dependsOn": [
Expand All @@ -91,7 +91,7 @@
"-o",
"StrictHostKeyChecking=no",
"${config:torizon_run_as}@${config:torizon_ip}",
"cd ${config:torizon_app_root} && gdbserver localhost:${config:torizon_debug_port2} __change__"
"cd ${config:torizon_app_root} && gdbserver localhost:${config:torizon_debug_port1} __change__"
],
"dependsOrder": "sequence",
"dependsOn": [
Expand Down
4 changes: 2 additions & 2 deletions rustSlint/.vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"host_ip": "",
"torizon_workspace": "${workspaceFolder}",
"torizon_debug_ssh_port": "2231",
"torizon_debug_port1": "",
"torizon_debug_port2": "2232",
"torizon_debug_port1": "2232",
"torizon_debug_port2": "",
"torizon_debug_port3": "",
"torizon_gpu": "",
"torizon_arch": "",
Expand Down

0 comments on commit 698b772

Please sign in to comment.