Does an one know of an undocumented (or documented but I can't find one) function that can be used to cause a break in the debugger?
2 Answers
Accepted Answer
The debugger directive (new in ECMAscript 5) appears to work fine with Titanium Studio:
if (mycondition) { debugger; }
Do you mean add a breakpoint? You can just right click in the left edge of your code editor. A content menu will pop up and one if the choices will be "toggle breakpoint". Click that and you'll see a little blue dot signifying your breakpoint.
Your Answer
This question has been locked and cannot accept new answers.