Skip to content
This repository was archived by the owner on Apr 3, 2024. It is now read-only.

Remove misleading arguments/locals message#220

Merged
cristiancavalli merged 1 commit intogoogleapis:masterfrom
cristiancavalli:fix/cristiancavalli/remove-misleading-frame-message
Jan 18, 2017
Merged

Remove misleading arguments/locals message#220
cristiancavalli merged 1 commit intogoogleapis:masterfrom
cristiancavalli:fix/cristiancavalli/remove-misleading-frame-message

Conversation

@cristiancavalli
Copy link
Copy Markdown
Contributor

When within the frame capture range omit status
messages declaming that arguments/locals are only
captured for frames in the capture range.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 17, 2017
@cristiancavalli cristiancavalli force-pushed the fix/cristiancavalli/remove-misleading-frame-message branch from 43941b8 to f8fc9e2 Compare January 17, 2017 19:52
@cristiancavalli
Copy link
Copy Markdown
Contributor Author

@GoogleCloudPlatform/node-team PTAL

StateResolver.prototype.resolveFrame_ = function(frame, resolveVars) {
var noArgs = [{
StateResolver.prototype.resolveFrame_ = function(frame, resolveVars, currentFrame, totalFrames) {
var framesExceeded = (currentFrame >= totalFrames);

This comment was marked as spam.

@cristiancavalli cristiancavalli force-pushed the fix/cristiancavalli/remove-misleading-frame-message branch from f8fc9e2 to 715aea9 Compare January 18, 2017 17:05
@cristiancavalli
Copy link
Copy Markdown
Contributor Author

@ofrobots thanks for the catch. resolveFrames_ has been updated to utilize this elision.

@cristiancavalli cristiancavalli force-pushed the fix/cristiancavalli/remove-misleading-frame-message branch from 715aea9 to d677e5a Compare January 18, 2017 17:37
var args = [];
var locals = [];
if (!underFrameCap) {
args.push(this.produceArgumentsNotAvailableMessage());

This comment was marked as spam.

var locals = [];
if (!underFrameCap) {
args.push(this.produceArgumentsNotAvailableMessage());
locals.push(this.produceLocalsNotAvailableMessage());

This comment was marked as spam.

@cristiancavalli cristiancavalli force-pushed the fix/cristiancavalli/remove-misleading-frame-message branch from d677e5a to 3e5a169 Compare January 18, 2017 18:28
@cristiancavalli
Copy link
Copy Markdown
Contributor Author

updated

When within the frame capture range omit status
messages declaming that arguments/locals are only
captured for frames in the capture range.

01/18/2016
- Update `resolveFrame_` to have simpler implmentation
with less branching.
@cristiancavalli cristiancavalli merged commit 474c2dc into googleapis:master Jan 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants