You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
I'm trying to hookup vscode with the new debubgger.
This seem to be going well, except until I try to add a breakpoint, thats when things fall over.
I'm getting the following error:
Traceback (most recent call last):
File "/Users/donjayamanne/anaconda3/envs/py36/lib/python3.6/site-packages/_pydevd_bundle/pydevd_process_net_command.py", line 274, in process_net_command
breakpoint_id = line = int(line)
ValueError: invalid literal forint() with base 10: '/Users/donjayamanne/Desktop/Development/vscode/ptvsd/main.py'
Looking at our code and PydDevd, we're not building the breakpoints correctly. or, i'm doing something completely wrong
Here's what I've found:
We're building the internal protocol message using the following format:
If I do I'll file an issue.
I learnt how this hands together and now I need to manually send a fake initialize request to pydevd as that does all of the necessary boostrapping.
I'm trying to hookup vscode with the new debubgger.
This seem to be going well, except until I try to add a breakpoint, thats when things fall over.
I'm getting the following error:
Looking at our code and PydDevd, we're not building the breakpoints correctly.
or, i'm doing something completely wrong
Here's what I've found:
See https://github.com/Microsoft/ptvsd/blob/master/ptvsd/wrapper.py#L556
breakpoint_id
anymore (see here pydevd_process_net_command.py#L268)type, file, line, func_name, suspend_policy, condition, expression = text.split('\t', 6)
I.e. the first item
vsc_bpid
is no longer necessary.I managed to get things going by changing the format to
msgfmt = 'python-line\t{}\t{}\tNone\tNone\t{}\tNone'
.Obviously this is not correct for two reasons:
(and this is why I believe I'm doing something wrong).
The text was updated successfully, but these errors were encountered: