Directly run when debuging.
This commit is contained in:
parent
0bf7d35168
commit
164158f3fe
1 changed files with 3 additions and 2 deletions
|
@ -8,10 +8,11 @@ import osdk.utils as utils
|
||||||
import osdk.targets as targets
|
import osdk.targets as targets
|
||||||
import osdk.manifests as manifests
|
import osdk.manifests as manifests
|
||||||
|
|
||||||
__version__="0.2.1"
|
__version__ = "0.2.1"
|
||||||
|
|
||||||
CMDS = {}
|
CMDS = {}
|
||||||
|
|
||||||
|
|
||||||
def parseOptions(args: list[str]) -> dict:
|
def parseOptions(args: list[str]) -> dict:
|
||||||
result = {
|
result = {
|
||||||
'opts': {},
|
'opts': {},
|
||||||
|
@ -65,7 +66,7 @@ def debugCmd(opts: dict, args: list[str]) -> None:
|
||||||
|
|
||||||
print()
|
print()
|
||||||
print(f"{utils.Colors.BOLD}Debugging: {args[0]}{utils.Colors.RESET}")
|
print(f"{utils.Colors.BOLD}Debugging: {args[0]}{utils.Colors.RESET}")
|
||||||
utils.runCmd("/usr/bin/lldb", out, *args[1:])
|
utils.runCmd("/usr/bin/lldb", "-o", "run", out, *args[1:])
|
||||||
print()
|
print()
|
||||||
print(f"{utils.Colors.GREEN}Process exited with success{utils.Colors.RESET}")
|
print(f"{utils.Colors.GREEN}Process exited with success{utils.Colors.RESET}")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue