diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-09-14 19:15:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-09-14 19:15:56 -0700 |
commit | e742036d2eddbb0ceef08a68fb22223d55780de5 (patch) | |
tree | 646904df277b3beaaed07bf658de90c14f5d1364 | |
parent | ce07f2aa7735c267785115c23f28321f61c7b250 (diff) |
always correct signs in the autodebugger code
-rw-r--r-- | src/parseTools.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index a0bcf44f..ceae2c61 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -671,6 +671,7 @@ function indentify(text, indent) { function correctSpecificSign() { assert(!(CORRECT_SIGNS >= 2 && !Debugging.on), 'Need debugging for line-specific corrections'); if (!Framework.currItem) return false; + if (Framework.currItem.funcData.ident.indexOf('emscripten_autodebug') >= 0) return 1; // always correct in the autodebugger code! return (CORRECT_SIGNS === 2 && Debugging.getIdentifier() in CORRECT_SIGNS_LINES) || (CORRECT_SIGNS === 3 && !(Debugging.getIdentifier() in CORRECT_SIGNS_LINES)); } |