1309 |
1309 |
1310 @param scope scope of the variables (-1 = empty global, 1 = global, |
1310 @param scope scope of the variables (-1 = empty global, 1 = global, |
1311 0 = local) |
1311 0 = local) |
1312 @param variables the list of variables from the client |
1312 @param variables the list of variables from the client |
1313 """ |
1313 """ |
|
1314 self.ui.activateDebugViewer() |
1314 if scope > 0: |
1315 if scope > 0: |
1315 self.debugViewer.showVariables(variables, True) |
1316 self.debugViewer.showVariables(variables, True) |
1316 if scope == 1: |
1317 if scope == 1: |
1317 # now get the local variables |
1318 # now get the local variables |
1318 self.debugServer.remoteClientVariables(0, self.localsVarFilter) |
1319 self.debugServer.remoteClientVariables(0, self.localsVarFilter) |
1329 |
1330 |
1330 @param scope scope of the variables (-1 = empty global, 1 = global, |
1331 @param scope scope of the variables (-1 = empty global, 1 = global, |
1331 0 = local) |
1332 0 = local) |
1332 @param variables the list of members of a classvariable from the client |
1333 @param variables the list of members of a classvariable from the client |
1333 """ |
1334 """ |
|
1335 self.ui.activateDebugViewer() |
1334 if scope == 1: |
1336 if scope == 1: |
1335 self.debugViewer.showVariable(variables, True) |
1337 self.debugViewer.showVariable(variables, True) |
1336 elif scope == 0: |
1338 elif scope == 0: |
1337 self.debugViewer.showVariable(variables, False) |
1339 self.debugViewer.showVariable(variables, False) |
1338 |
1340 |