IDE: Fire
Version: Version 10.0.0.2400 (develop) built on talax, 20190426-155608. Commit f04dec1.
Target (If relevant): iOS
Description:
I have the problem that I am trying to debug some switch-statement code in a file named LocationsViewController
in my iOS-project only when I set three breakpoints as marked in this file.
It’s always hitting the line DispatchQueue.main.async { // ADD BREAKPOINT
while the enum which I am checking is off state Result.failure
so it should never hit the case inside .success
.
Expected Behavior:
Breakpoint set in conditional code which isn’t met shouldn’t be hit
Actual Behavior:
Debugger stops at a breakpoint for a case-statement in a switch which isn’t met
Steps:
- Open the project in the zip file
BugReportBreakpoints.zip
(personally sent to @ck) - Open the file
LocationsViewController
ensure you have breakpoints at lines 26, 29, and 34. - Run the application
- Enter some bogus in the user/password text fields
- Press the Sign in button
- Notice that the code
viewDidAppear
ofLocationsViewController
gets triggered and the breakpoint is not being skipped