Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging point on a step/hook definition gives timeout #150

Closed
sswaroopgupta opened this issue May 23, 2018 · 1 comment
Closed

Debugging point on a step/hook definition gives timeout #150

sswaroopgupta opened this issue May 23, 2018 · 1 comment
Labels

Comments

@sswaroopgupta
Copy link
Contributor

Expected behavior
Should not get timeout.

Actual behavior
Getting

Trace: Error: Script execution timed out.
    at Script.runInContext (vm.js:102:20)
    at Object.runInContext (vm.js:280:6)
    at VM.run (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/vm.js:58:8)
    at VM.runFile (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/vm.js:73:8)
    at /Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/impl-loader.js:9:8
    at Array.forEach (<anonymous>)
    at Object.loadImpl [as load] (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/impl-loader.js:6:29)
    at startExecution (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/message-processor.js:66:15)
    at Timeout._onTimeout (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/message-processor.js:78:30)
    at ontimeout (timers.js:427:11)
    at VM.run (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/vm.js:61:13)
    at VM.runFile (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/vm.js:73:8)
    at /Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/impl-loader.js:9:8
    at Array.forEach (<anonymous>)
    at Object.loadImpl [as load] (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/impl-loader.js:6:29)
    at startExecution (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/message-processor.js:66:15)
    at Timeout._onTimeout (/Users/sswaroop/.gauge/plugins/js/2.3.1.nightly-2018-05-23/src/message-processor.js:78:30)
    at ontimeout (timers.js:427:11)
    at tryOnTimeout (timers.js:289:5)
    at listOnTimeout (timers.js:252:5)

Steps to replicate

  • Create a gauge-js project
  • Add a debugger point on the definition of step and hook
  • Start debugging

When the debug point reaches the definition, click continue. The above error is thrown

Version

Gauge version: 0.9.9.nightly-2018-05-23
Commit Hash: cf46420

Plugins
-------
js (2.3.1.nightly-2018-05-23)
@sswaroopgupta
Copy link
Contributor Author

Working as expected in

Gauge version: 1.0.1.nightly-2018-07-31
Commit Hash: 4ae7c9a

Plugins
-------
js (2.3.2.nightly-2018-06-19)

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

No branches or pull requests

1 participant