Skip to content
This repository was archived by the owner on Aug 28, 2020. It is now read-only.
This repository was archived by the owner on Aug 28, 2020. It is now read-only.

Crash on adding breakpoints #212

Description

@Mte90

When I doubleclick on a line the app crashes with this output:

inotify_add_watch("/srv/www/boilerplate/htdocs/index.php") failed: "No such file or directory"
Traceback (most recent call last):
  File "/tmp/pugdebug/pugdebug/pugdebug.py", line 932, in handle_breakpoints_listed
    document_widget = self.document_viewer.get_document_by_path(path)
  File "/tmp/pugdebug/pugdebug/gui/documents.py", line 73, in get_document_by_path
    return self.widget(index)
TypeError: widget(self, int): argument 1 has unexpected type 'NoneType'

I understood that the issue is that I have to invert the path in the settings.
Maybe add a check if file exists with a warning can be better.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions