Debugger: Fix thread switching when using lldb on macOS

The SetSelectedThreadByID method expects an integer, and not
a string.

Fixes: QTCREATORBUG-21563
Change-Id: Ibd5538a3214b73d7e87e66b59d6b9af0b93effeb
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Alexandru Croitor
2018-11-22 16:22:45 +01:00
parent e5c2b30e90
commit 18c6048099
+1 -1
View File
@@ -1654,7 +1654,7 @@ class Dumper(DumperBase):
def selectThread(self, args):
self.reportToken(args)
self.process.SetSelectedThreadByID(args['id'])
self.process.SetSelectedThreadByID(int(args['id']))
self.reportResult('', args)
def fetchFullBacktrace(self, _ = None):