Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
4b47d457
Commit
4b47d457
authored
6 years ago
by
Elizaveta Shashkova
Browse files
Options
Download
Email Patches
Plain Diff
PY-31451 Fix lines in debugger after changes in psi
parent
df4d8311
Branches unavailable
Tags unavailable
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
python/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py
+2
-0
...elpers/pydev/_pydevd_bundle/pydevd_process_net_command.py
python/helpers/pydev/pydevd.py
+2
-1
python/helpers/pydev/pydevd.py
with
4 additions
and
1 deletion
+4
-1
python/helpers/pydev/_pydevd_bundle/pydevd_process_net_command.py
+
2
-
0
View file @
4b47d457
...
...
@@ -342,6 +342,8 @@ def process_net_command(py_db, cmd_id, seq, text):
py_db
.
consolidate_breakpoints
(
file
,
id_to_pybreakpoint
,
breakpoints
)
if
py_db
.
plugin
is
not
None
:
py_db
.
has_plugin_line_breaks
=
py_db
.
plugin
.
has_line_breaks
()
if
py_db
.
has_plugin_line_breaks
:
py_db
.
frame_eval_func
=
None
py_db
.
set_tracing_for_untraced_contexts_if_not_frame_eval
(
overwrite_prev_trace
=
True
)
py_db
.
enable_tracing_in_frames_while_running_if_frame_eval
()
...
...
This diff is collapsed.
Click to expand it.
python/helpers/pydev/pydevd.py
+
2
-
1
View file @
4b47d457
...
...
@@ -1099,7 +1099,8 @@ class PyDB:
while
not
self
.
ready_to_run
:
time
.
sleep
(
0.1
)
# busy wait until we receive run command
if
self
.
break_on_caught_exceptions
or
(
self
.
plugin
and
self
.
plugin
.
has_exception_breaks
())
or
self
.
signature_factory
:
if
self
.
break_on_caught_exceptions
or
self
.
has_plugin_line_breaks
or
self
.
has_plugin_exception_breaks
\
or
self
.
signature_factory
:
# disable frame evaluation if there are exception breakpoints with 'On raise' activation policy
# or if there are plugin exception breakpoints or if collecting run-time types is enabled
self
.
frame_eval_func
=
None
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help