Pycharm Pro 2021.1 does not stopping on breakpoint ( Odoo Project )

I used to work with pycharm CE 2020 for my Odoo project but the debugging isn't work. So I change to Pycharm Pro 2021.1 and it still happened? Am i forgot some setting or something in pycharm? Please help me, without debug, I waste a lot of time to print and check error.

6 comments
Comment actions Permalink

Please add the PYCHARM_DEBUG=True environment variable to your run configuration (Run | Edit configurations...), reproduce the issue and provide the whole console output.

0
Comment actions Permalink

I am having the same problem.

Here is my output;

C:\Users\brian\AppData\Local\Programs\Python\Python36-32\python.exe "C:\Program Files\JetBrains\PyCharm 2021.1.1\plugins\python\helpers\pydev\pydevd.py" --multiproc --qt-support=auto --client 127.0.0.1 --port 59724 --file E:/Projects/MarsNet/src/main.py ../data3/
Executing PyCharm's `sitecustomize`
User doesn't have a custom `sitecustomize`
Custom matplotlib backend was set for SciView
Using Cython speedups
Unable to load jupyter_debug plugin
Executing file E:/Projects/MarsNet/src/main.py
arguments: ['E:/Projects/MarsNet/src/main.py', '../data3/']
PYDEVD_FILTER_LIBRARIES False

Started in multiproc mode

('Connecting to ', '127.0.0.1', ':', '59724')
('Connected.',)
debugger: received >>99 -1 59725
<<
Received command: ??? 99 -1 59725

Received port 59725

pydev debugger: process 5116 is connecting

('Connecting to ', '127.0.0.1', ':', '59725')
('Connected.',)
debugger: received >>501 1 0.1 WIN
<<
Received command: CMD_VERSION 501 1 0.1 WIN

sending cmd --> CMD_VERSION @@BUILD_NUMBER@@
Connected to pydev debugger (build 211.7142.13)
debugger: received >>111 3 python-line e:/projects/marsnet/src/neuralnet.py 288 validate THREAD None None
<<
Received command: CMD_SET_BREAK 111 3 python-line e:/projects/marsnet/src/neuralnet.py 288 validate THREAD None None

Added breakpoint:e:\projects\marsnet\src\neuralnet.py - line:288 - func_name:b'validate'

debugger: received >>111 9 python-line e:/projects/marsnet/src/main.py 153 runWithGoodIons THREAD None None
111 5 python-line e:/projects/marsnet/src/neuralnet.py 290 validate THREAD None None
111 7 python-line e:/projects/marsnet/src/main.py 152 runWithGoodIons THREAD None None
<<
Received command: CMD_SET_BREAK 111 9 python-line e:/projects/marsnet/src/main.py 153 runWithGoodIons THREAD None None

Added breakpoint:e:\projects\marsnet\src\main.py - line:153 - func_name:b'runWithGoodIons'

Received command: CMD_SET_BREAK 111 5 python-line e:/projects/marsnet/src/neuralnet.py 290 validate THREAD None None

Added breakpoint:e:\projects\marsnet\src\neuralnet.py - line:290 - func_name:b'validate'

Received command: CMD_SET_BREAK 111 7 python-line e:/projects/marsnet/src/main.py 152 runWithGoodIons THREAD None None

Added breakpoint:e:\projects\marsnet\src\main.py - line:152 - func_name:b'runWithGoodIons'

debugger: received >>146 11 SHOW_RETURN_VALUES 0
<<
Received command: CMD_SHOW_RETURN_VALUES 146 11 SHOW_RETURN_VALUES 0

Show return values: False

debugger: received >>101 13
<<
Received command: CMD_RUN 101 13

sending cmd --> CMD_THREAD_CREATE <xml><thread name="MainThread" id="pid_5116_id_44243984" /></xml>
2021-07-20 23:21:04
System Summary;
12 cores available for multiprocessing.
5.975887872 GB of memory available.
2021-07-20 23:21:04 Generating Vectors...
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_0" id="pid_5116_id_263889808" /></xml>
IDE_PROJECT_ROOTS ['e:\\projects\\marsnet']

LIBRARY_ROOTS ['c:\\users\\brian\\appdata\\local\\programs\\python\\python36-32\\dlls', 'c:\\users\\brian\\appdata\\local\\programs\\python\\python36-32\\lib', 'c:\\users\\brian\\appdata\\local\\programs\\python\\python36-32', 'c:\\users\\brian\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages', 'c:\\users\\brian\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\win32', 'c:\\users\\brian\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\win32\\lib', 'c:\\users\\brian\\appdata\\local\\programs\\python\\python36-32\\lib\\site-packages\\pythonwin', 'c:\\users\\brian\\appdata\\local\\jetbrains\\pycharm2021.1\\python_stubs\\-812277531', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\python-skeletons', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stdlib', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\jwt', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\six', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\mock', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\nmap', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\attrs', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\polib', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\retry', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\enum34', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\orjson', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\xxhash', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\chardet', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\futures', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\tzlocal', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\aiofiles', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\filelock', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\markdown', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\paramiko', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\pathlib2', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\requests', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\waitress', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\werkzeug', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\freezegun', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\ipaddress', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\pyrfc3339', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\typed-ast', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\cachetools', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\deprecated', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\frozendict', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\contextvars', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\jack-client', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\atomicwrites', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\cryptography', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\click-spinner', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\datetimerange', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\pkg_resources', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\python-gflags', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\python-slugify', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\python-dateutil', 'c:\\program files\\jetbrains\\pycharm 2021.1.1\\plugins\\python\\helpers\\typeshed\\stubs\\typing-extensions']

sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_1" id="pid_5116_id_263783120" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_2" id="pid_5116_id_331758864" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_3" id="pid_5116_id_291847376" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_4" id="pid_5116_id_337111920" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_5" id="pid_5116_id_341000080" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_6" id="pid_5116_id_344836944" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_7" id="pid_5116_id_340999824" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_8" id="pid_5116_id_348576528" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_9" id="pid_5116_id_355466480" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_10" id="pid_5116_id_337179472" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_11" id="pid_5116_id_358916720" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_12" id="pid_5116_id_361898256" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_13" id="pid_5116_id_366877360" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_14" id="pid_5116_id_366875792" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_15" id="pid_5116_id_389898192" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_16" id="pid_5116_id_389897904" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_17" id="pid_5116_id_389898096" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_18" id="pid_5116_id_402776048" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_19" id="pid_5116_id_402775792" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_20" id="pid_5116_id_411905840" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_21" id="pid_5116_id_411905680" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_22" id="pid_5116_id_421188336" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_23" id="pid_5116_id_424409264" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_24" id="pid_5116_id_425721840" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_25" id="pid_5116_id_430364528" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_26" id="pid_5116_id_353713648" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_27" id="pid_5116_id_357129520" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_28" id="pid_5116_id_358330224" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_29" id="pid_5116_id_358329744" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_30" id="pid_5116_id_437469008" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_31" id="pid_5116_id_436743024" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_32" id="pid_5116_id_444661424" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_33" id="pid_5116_id_443868592" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_34" id="pid_5116_id_437141296" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_35" id="pid_5116_id_437468752" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_36" id="pid_5116_id_437864944" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_37" id="pid_5116_id_458788336" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_38" id="pid_5116_id_458788528" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_39" id="pid_5116_id_468790000" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_40" id="pid_5116_id_474183856" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_41" id="pid_5116_id_475156816" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_42" id="pid_5116_id_479127536" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_43" id="pid_5116_id_70979440" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_44" id="pid_5116_id_484247696" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_45" id="pid_5116_id_487209104" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_46" id="pid_5116_id_484245552" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_47" id="pid_5116_id_493444272" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_48" id="pid_5116_id_493444240" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_49" id="pid_5116_id_498295376" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_50" id="pid_5116_id_475425744" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_51" id="pid_5116_id_504709008" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_52" id="pid_5116_id_518592848" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_53" id="pid_5116_id_521090256" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_54" id="pid_5116_id_518593712" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_55" id="pid_5116_id_521042896" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_56" id="pid_5116_id_565144016" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_57" id="pid_5116_id_588770960" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_58" id="pid_5116_id_588771152" /></xml>
sending cmd --> CMD_THREAD_CREATE <xml><thread name="%26lt%3Bconcurrent.futures.thread.ThreadPoolExecutor%20object%20at%200x116DC3B0%26gt%3B_59" id="pid_5116_id_567672016" /></xml>
sending cmd --> CMD_THREAD_KILL pid_5116_id_521042896
sending cmd --> CMD_THREAD_KILL pid_5116_id_291847376
sending cmd --> CMD_THREAD_KILL pid_5116_id_565144016
sending cmd --> CMD_THREAD_KILL pid_5116_id_358330224
sending cmd --> CMD_THREAD_KILL pid_5116_id_588770960
sending cmd --> CMD_THREAD_KILL pid_5116_id_366875792
sending cmd --> CMD_THREAD_KILL pid_5116_id_588771152
sending cmd --> CMD_THREAD_KILL pid_5116_id_358329744
sending cmd --> CMD_THREAD_KILL pid_5116_id_567672016
sending cmd --> CMD_THREAD_KILL pid_5116_id_340999824
sending cmd --> CMD_THREAD_KILL pid_5116_id_437469008
sending cmd --> CMD_THREAD_KILL pid_5116_id_389898192
sending cmd --> CMD_THREAD_KILL pid_5116_id_436743024
sending cmd --> CMD_THREAD_KILL pid_5116_id_263889808
sending cmd --> CMD_THREAD_KILL pid_5116_id_444661424
sending cmd --> CMD_THREAD_KILL pid_5116_id_389897904
sending cmd --> CMD_THREAD_KILL pid_5116_id_443868592
sending cmd --> CMD_THREAD_KILL pid_5116_id_348576528
sending cmd --> CMD_THREAD_KILL pid_5116_id_437141296
sending cmd --> CMD_THREAD_KILL pid_5116_id_389898096
sending cmd --> CMD_THREAD_KILL pid_5116_id_437468752
sending cmd --> CMD_THREAD_KILL pid_5116_id_337111920
sending cmd --> CMD_THREAD_KILL pid_5116_id_437864944
sending cmd --> CMD_THREAD_KILL pid_5116_id_402776048
sending cmd --> CMD_THREAD_KILL pid_5116_id_458788336
sending cmd --> CMD_THREAD_KILL pid_5116_id_355466480
sending cmd --> CMD_THREAD_KILL pid_5116_id_458788528
sending cmd --> CMD_THREAD_KILL pid_5116_id_402775792
sending cmd --> CMD_THREAD_KILL pid_5116_id_468790000
sending cmd --> CMD_THREAD_KILL pid_5116_id_331758864
sending cmd --> CMD_THREAD_KILL pid_5116_id_474183856
sending cmd --> CMD_THREAD_KILL pid_5116_id_411905840
sending cmd --> CMD_THREAD_KILL pid_5116_id_475156816
sending cmd --> CMD_THREAD_KILL pid_5116_id_337179472
sending cmd --> CMD_THREAD_KILL pid_5116_id_411905680
sending cmd --> CMD_THREAD_KILL pid_5116_id_479127536
sending cmd --> CMD_THREAD_KILL pid_5116_id_70979440
sending cmd --> CMD_THREAD_KILL pid_5116_id_341000080
sending cmd --> CMD_THREAD_KILL pid_5116_id_484247696
sending cmd --> CMD_THREAD_KILL pid_5116_id_421188336
sending cmd --> CMD_THREAD_KILL pid_5116_id_358916720
sending cmd --> CMD_THREAD_KILL pid_5116_id_487209104
sending cmd --> CMD_THREAD_KILL pid_5116_id_484245552
sending cmd --> CMD_THREAD_KILL pid_5116_id_424409264
sending cmd --> CMD_THREAD_KILL pid_5116_id_493444272
sending cmd --> CMD_THREAD_KILL pid_5116_id_263783120
sending cmd --> CMD_THREAD_KILL pid_5116_id_425721840
sending cmd --> CMD_THREAD_KILL pid_5116_id_493444240
sending cmd --> CMD_THREAD_KILL pid_5116_id_498295376
sending cmd --> CMD_THREAD_KILL pid_5116_id_361898256
sending cmd --> CMD_THREAD_KILL pid_5116_id_475425744
sending cmd --> CMD_THREAD_KILL pid_5116_id_430364528
sending cmd --> CMD_THREAD_KILL pid_5116_id_353713648
sending cmd --> CMD_THREAD_KILL pid_5116_id_504709008
sending cmd --> CMD_THREAD_KILL pid_5116_id_518592848
sending cmd --> CMD_THREAD_KILL pid_5116_id_344836944
sending cmd --> CMD_THREAD_KILL pid_5116_id_521090256
sending cmd --> CMD_THREAD_KILL pid_5116_id_366877360
sending cmd --> CMD_THREAD_KILL pid_5116_id_357129520
sending cmd --> CMD_THREAD_KILL pid_5116_id_518593712
Setting Up Neural Nets...
#1 - Learning Rate: 0.5, Hidden Layers: 50
2021-07-21 00:06:14 Training Neural Networks...
Training using 106,116 vectors.
2021-07-21 00:06:53 Validating Network 1/1...
Learning Rate: 0.5, Hidden Layers: 50
Traceback (most recent call last):
File "E:\Projects\MarsNet\src\NeuralNet.py", line 290, in validate
error+=self.computeError(outputs, netOutput)
File "E:\Projects\MarsNet\src\NeuralNet.py", line 327, in computeError
error+=(actual[i]-predicted[i])**2
IndexError: list index out of range

Process finished with exit code 1

The breakpoints should be triggering right after "Learning Rate" print line is displayed but the breakpoints are being skipped...

0
Comment actions Permalink

Bmikolaj Your issues seems to be different:

IndexError: list index out of range

Either way, debugging Odoo is a known issue https://youtrack.jetbrains.com/issue/PY-43474, unfortunately it doesn't work very well.

0
Comment actions Permalink

I know I have that error but my breakpoints before that error don't trigger at all. No breakpoints do when I run debugger...

0
Comment actions Permalink

I don't have an Odoo project, though, so yes it's not related directly but it is still an issue with the debugger in this version. 

0
Comment actions Permalink

Bmikolaj

I see, then I'd suggest to make sure that you have "Attach to subprocess automatically" option enabled in [Preferences | Build, Execution, Deployment | Python Debugger], and also to try enabling/disabling "Gevent compatible" option there.

If nothing helps, I suggest submitting an issue to https://youtrack.jetbrains.com/issues/py with a code/project sample and steps to reproduce the issue.

0

Please sign in to leave a comment.