Debugging an iOS app in the simulator

The Fire debugger doesn’t seem to work too well with the iOS simulator. For example this code hooked up to a button click

method MainViewController.doStuff(sender: id);
begin
NSLog(’%@’,‘Hello’);
var stuff : String := nil;
NSLog(’%d’,stuff.length);
end;

Will cause Fire to crash.

Something similar in an desktop Cocoa app will stop in Fire on the line that caused the problem.

Cheers,
John

Any details on the crash?

Thanks, logged as bugs://71079

Reproduced; seems to be a regression/bug in the new LLDV/LLDB build we updated to :(. We’ll of course get this sorted for Friday.

i can’t test right now, myself — i assume on-device debugging s working ok for you?

bugs://71079 got closed with status fixed.

Thanks.

Sorry I’m not sure if on-device debugging is working but I do plan trying it out this weekend.

ok, the issue is confirmed fixed,so hopefully you’ll have that fix in your hand by Friday :wink:

I tried debugging on a device with the latest, it works really well. Thanks.

Glad to hear!

I trust it that Simulator debugging is fixed for you as well?

yes that works as well.

1 Like