src/eric7/DebugClients/Python/DebugUtilities.py

branch
eric7
changeset 10321
4a017fdf316f
parent 9653
e67609152c5e
child 10417
c6011e501282
equal deleted inserted replaced
10320:ff28050f5dec 10321:4a017fdf316f
352 352
353 ( 353 (
354 wd, 354 wd,
355 host, 355 host,
356 port, 356 port,
357 exceptions, 357 reportAllExceptions,
358 tracePython, 358 tracePython,
359 redirect, 359 redirect,
360 noencoding, 360 noencoding,
361 ) = debugClient.startOptions[:7] 361 ) = debugClient.startOptions[:7]
362 362
373 ] 373 ]
374 ) 374 )
375 375
376 if wd: 376 if wd:
377 modifiedArguments.extend(["-w", wd]) 377 modifiedArguments.extend(["-w", wd])
378 if not exceptions:
379 modifiedArguments.append("-e")
380 if tracePython: 378 if tracePython:
381 modifiedArguments.append("-t") 379 modifiedArguments.append("-t")
382 if noRedirect or not redirect: 380 if noRedirect or not redirect:
383 modifiedArguments.append("-n") 381 modifiedArguments.append("-n")
384 if noencoding: 382 if noencoding:
385 modifiedArguments.append("--no-encoding") 383 modifiedArguments.append("--no-encoding")
386 if debugClient.multiprocessSupport: 384 if debugClient.multiprocessSupport:
387 modifiedArguments.append("--multiprocess") 385 modifiedArguments.append("--multiprocess")
386 if reportAllExceptions:
387 modifiedArguments.append("--report-exceptions")
388 if hasCode: 388 if hasCode:
389 modifiedArguments.append("--code") 389 modifiedArguments.append("--code")
390 modifiedArguments.append(args.pop(0)) 390 modifiedArguments.append(args.pop(0))
391 if hasScriptModule: 391 if hasScriptModule:
392 modifiedArguments.append("--module") 392 modifiedArguments.append("--module")

eric ide

mercurial