Skip to content

Commit 2ddef19

Browse files
committed
Increase chars shown in strings in console to 60
1 parent 1592390 commit 2ddef19

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ChangeLog

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
Add a backtrace command to debugger, add console.trace command, set Error.stack in constructor (fix #2490)
99
Error.stack/stack dump now uses more standard file:line:col format
1010
Out of memory errors now show a backtrace (previously it was very hard to track these down)
11+
Increase chars shown in strings in console to 60
1112

1213
2v26 : nRF5x: ensure TIMER1_IRQHandler doesn't always wake idle loop up (fix #1900)
1314
Puck.js: On v2.1 ensure Puck.mag behaves like other variants - just returning the last reading (avoids glitches when used with Puck.magOn)

src/jswrap_json.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121

2222
const unsigned int JSON_LIMIT_AMOUNT = 15; // how big does an array get before we start to limit what we show
2323
const unsigned int JSON_LIMITED_AMOUNT = 5; // When limited, how many items do we show at the beginning and end
24-
const unsigned int JSON_LIMIT_STRING_AMOUNT = 40; // how big are strings before we limit them?
25-
const unsigned int JSON_LIMITED_STRING_AMOUNT = 17; // When limited, how many chars do we show at the beginning and end
24+
const unsigned int JSON_LIMIT_STRING_AMOUNT = 60; // how big are strings before we limit them?
25+
const unsigned int JSON_LIMITED_STRING_AMOUNT = 27; // When limited, how many chars do we show at the beginning and end
2626
const unsigned int JSON_ITEMS_ON_LINE_OBJECT = 4; // How many items are allowed end to end on a line.
2727
const char *JSON_LIMIT_TEXT = " ... ";
2828

0 commit comments

Comments
 (0)