Skip to content

Conversation

@mrkmarron
Copy link
Contributor

@mrkmarron mrkmarron commented Jul 26, 2016

-Changes needed for debugging with Node & VSCode (see PR #1215).

@mrkmarron
Copy link
Contributor Author

#endif

if (errorCode == JsNoError)
if(errorCode == JsNoError)
Copy link
Contributor

Choose a reason for hiding this comment

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

if( [](start = 8, length = 3)

nit: preferred style throughout our codebase is if ( (with a space).

@mrkmarron
Copy link
Contributor Author

@jianchun @digitalinfinity There is also a change to runtests.py that forces it to a single thread. I added a tag "sequential" to rl that allows the tests in a directory to be run sequentially and in-order for a directory but runtests does not recognize this flag yet.

bin/ch/ch.cpp Outdated

ChakraRTInterface::JsTTDMoveToTopLevelEvent(snapEventTime, nextEventTime);
ChakraRTInterface::JsTTDPrepContextsForTopLevelEventMove(chRuntime, needFreshCtxs);
ChakraRTInterface::JsTTDMoveToTopLevelEvent(moveMode, snapEventTime, nextEventTime);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Error checking? You can use the macros defined in bin\ch\stdafx.h.

@agarwal-sandeep
Copy link
Collaborator

/// <param name="flushAndCloseStream">The <c>JsTTDFlushAndCloseStreamCallback</c> function for flushing and closing a HANDLE as needed.</param>

update it after API signature change


Refers to: lib/Jsrt/ChakraDebug.h:815 in 9bcf567. [](commit_id = 9bcf567, deletion_comment = False)

#if !ENABLE_TTD_DEBUGGING
return JsErrorCategoryUsage;
#else
JsrtContext *currentContext = JsrtContext::GetCurrent();
Copy link
Collaborator

@agarwal-sandeep agarwal-sandeep Jul 27, 2016

Choose a reason for hiding this comment

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

We expect a valid context here so this should be inside ContextAPIWrapper. In other APIs as well, since we are getting current context and there is no check to validate that.

@dilijev
Copy link
Contributor

dilijev commented Aug 9, 2016

@dotnet-bot
test Windows arm_test please
test Windows x86_debug please

@digitalinfinity
Copy link
Contributor

@dotnet-bot test Windows arm_debug please

@chakrabot chakrabot merged commit 7fbd37a into chakra-core:master Aug 12, 2016
chakrabot pushed a commit that referenced this pull request Aug 12, 2016
Merge pull request #1338 from mrkmarron:ttdNodeUpdate

-Changes needed for debugging with Node & VSCode (see PR #1215).

- Various bug fixes
  -Perf in interperter loop
  -Break in release ch
  -DisableJIT issues (Fixes #1244)

- x-plat types & API defs in JsRT
- x-plat host support and all TTD tests in Linux
@mrkmarron mrkmarron deleted the ttdNodeUpdate branch August 18, 2016 21:01
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.

Investigate whether TTBasic and TTExecuteBasic tests could be run in DisableJIT mode.

7 participants