1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
ksnowlv@ksnowlvdeMacBook-Pro~/Documents/lvwei projects/python$python thread_queue.py
> /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py(9)<module>()
-> exitFlag = 0
(Pdb) b process_data
Breakpoint 1 at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:27
(Pdb) b 45
Breakpoint 2 at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:45
(Pdb) b 33
Breakpoint 3 at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:33
(Pdb) b
Num Type Disp Enb Where
1 breakpoint keep yes at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:27
2 breakpoint keep yes at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:45
3 breakpoint keep yes at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:33
(Pdb) cl 3
Deleted breakpoint 3
(Pdb) b
Num Type Disp Enb Where
1 breakpoint keep yes at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:27
2 breakpoint keep yes at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:45
(Pdb) b 33
Breakpoint 4 at /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py:33
(Pdb) c
> /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py(45)<module>()
-> threadID = 1
(Pdb) p threadList
['ksnow', 'kair', 'baby']
(Pdb) pp nameList
['One', 'Two', 'Three', 'Four', 'Five']
(Pdb) n
> /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py(48)<module>()
-> for tName in threadList:
(Pdb) n
> /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py(49)<module>()
-> thread = QThread(threadID, tName, workQueue)
(Pdb) s
--Call--
> /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py(14)__init__()
-> def __init__(self, threadID, name, queue):
(Pdb) s
> /Users/ksnowlv/Documents/lvwei projects/python/thread_queue.py(15)__init__()
-> threading.Thread.__init__(self)
(Pdb) s
--Call--
> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py(654)__init__()
-> def __init__(self, group=None, target=None, name=None,
(Pdb) c
Starting ksnow
Starting kair
Starting baby
ksnow processing One
baby processing Two
kair processing Three
ksnow processing Four
kair processing Five
Exiting baby
Exiting ksnow
Exiting kair
Exiting Main Thread
Exception AttributeError: "'NoneType' object has no attribute 'path'" in <function _remove at 0x10fb59b18> ignored
ksnowlv@ksnowlvdeMacBook-Pro~/Documents/lvwei projects/python$
|