Skip to content

Debugger.evaluateOnCallFrame error: Can only perform operation while paused. #30

@malexmave

Description

@malexmave

When scanning cbscorporation.com, the following error appears:

$ privacyscanner scan -m chromedevtools http://cbscorporation.com
chromedevtools> 2020-03-10 11:15:34,300: [INFO] Starting chromedevtools (scanner.py:179)
/[redacted]/venv/lib/python3.6/site-packages/pychrome/tab.py:176: UserWarning: Debugger.evaluateOnCallFrame error: Can only perform operation while paused.
  warnings.warn("%s error: %s" % (_method, result['error']['message']))
callback Debugger.paused exception
Traceback (most recent call last):
  File "/[redacted]/venv/lib/python3.6/site-packages/pychrome/tab.py", line 152, in _handle_event_loop
    self.event_handlers[event['method']](**event['params'])
  File "/[redacted]/privacyscanner/privacyscanner/scanmodules/chromedevtools/chromescan.py", line 472, in _cb_paused
    expression=EXTRACT_ARGUMENTS_JAVASCRIPT)['result']
  File "/[redacted]/venv/lib/python3.6/site-packages/pychrome/tab.py", line 177, in call_method
    raise CallMethodException("calling method: %s error: %s" % (_method, result['error']['message']))
pychrome.exceptions.CallMethodException: calling method: Debugger.evaluateOnCallFrame error: Can only perform operation while paused.
chromedevtools> 2020-03-10 11:16:03,412: [INFO] Finished chromedevtools (scanner.py:203)

Interestingly, the scan still completes and gives results, but I am not sure if I can trust them after this error. See #27 for dependency versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions