Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Handle subscripting a potentially None object. #1133

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ def _pydev_stop_at_break(line):
except KeyError:
pydev_log.debug("Couldn't find breakpoint in the file {} on line {}".format(frame.f_code.co_filename, line))
return
except TypeError:
pydev_log.debug("Breakpoints not available for the file {}".format(frame.f_code.co_filename))
return

if python_breakpoint:
pydev_log.debug("Suspending at breakpoint in file: {} on line {}".format(frame.f_code.co_filename, line))
Expand Down