Skip to content

Commit 062042a

Browse files
committed
Actually add toolchain to the path for pebble gdb.
1 parent a7e32f4 commit 062042a

File tree

1 file changed

+2
-1
lines changed
  • pebble_tool/commands/sdk/project

1 file changed

+2
-1
lines changed

pebble_tool/commands/sdk/project/debug.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import subprocess
99

1010
from pebble_tool.commands.base import PebbleCommand
11-
from pebble_tool.sdk import sdk_manager
11+
from pebble_tool.sdk import sdk_manager, add_tools_to_path
1212
from pebble_tool.sdk.emulator import ManagedEmulatorTransport
1313
from pebble_tool.exceptions import ToolError
1414

@@ -56,6 +56,7 @@ def __call__(self, args):
5656
# We poke around in the ManagedEmulatorTransport, so it's important that we actually have one.
5757
# Just asserting is okay because this should already be enforced by valid_connections.
5858
assert isinstance(self.pebble.transport, ManagedEmulatorTransport)
59+
add_tools_to_path()
5960

6061
platform = self.pebble.transport.platform
6162
sdk_version = self.pebble.transport.version

0 commit comments

Comments
 (0)