NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore
http://docs.nativescript.org/runtimes/ios
Apache License 2.0
299 stars 59 forks source link

Chrome DevTools: Conditional breakpoints don't work #1181

Closed Natalia-Hristova closed 4 years ago

Natalia-Hristova commented 5 years ago

Environment

Describe the bug When add conditional breakpoint while debugging in Chrome DevTools it is always hit no matter if the condition is satisfied or not.

To Reproduce

  1. tns debug ios
  2. Open URL in Chrome
  3. Right click on some row and choose "Add conditional breakpoint"
  4. Write condition that can be true or false

Check if the breakpoint is hit only when the condition is true

Expected behavior Breakpoint t be hit only when its condition is satisfied.

Sample project

Additional context Not sure if this was implemented and working ever -> Found it here like a feature. This works when debugging android.