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

TTD: explicit support for enable/disable auto-trace #5202

Merged
merged 1 commit into from
May 22, 2018

Conversation

mrkmarron
Copy link
Contributor

Fix for auto-trace behavior.

#else
JsrtContext *currentContext = JsrtContext::GetCurrent();
JsErrorCode cCheck = CheckContext(currentContext, JSRT_MAYBE_TRUE);
TTDAssert(cCheck == JsNoError, "Must have valid context when setting auto trace status.");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is TTDAssert a release assert? If not, probably should return the error here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like it's currently a fatal error in release. It seems like we should just return the error rather than killing the process and let the calls abort if something's wrong.

@chakrabot chakrabot merged commit d1fdc0f into chakra-core:release/1.9 May 22, 2018
chakrabot pushed a commit that referenced this pull request May 22, 2018
…o-trace

Merge pull request #5202 from mrkmarron:rrfix

Fix for auto-trace behavior.
chakrabot pushed a commit that referenced this pull request May 22, 2018
…e/disable auto-trace

Merge pull request #5202 from mrkmarron:rrfix

Fix for auto-trace behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants