If only you could run your app in debug mode on a specific, remote computer. With Xojo, you can. Let’s talk about Xojo’s Remote Debugger.
In order to test the Android apps you create in Xojo, you either need to have an actual Android device (Xojo supports on-device testing/debugging) or you need to set up an Android Emulator in Android Studio. Read on or jump over to Xojo YouTube Channel to watch this process in this Creating an Android Emulator video.
Starting with Xojo 2023r1 you’ll find a new feature in Xojo’s Debugger panel that allows you to filter the objects and variables displayed, even between different project runs! This lets you stay focused on the more important objects and variables instead of scrolling through the list of all entries.
Starting in Xojo 2022r2 you have the option to generate Program Database (PDB) files with your 64-bit Windows builds. If you’re unfamiliar with what PDB…
You may or may not be aware that running iOS projects in the Simulator does not allow you to check all of your app’s features. There are a few features which rely on hardware capabilities which the Simulator cannot emulate. This can make it hard to track down bugs, and the only recourse is console logging. Starting in Xojo 2022r1 it’s possible to run your apps right on a physical device connected by USB.
Yuck! It happens to everyone, from beginners to experienced developers: sometimes you’ll get stuck. Perhaps the code you’re working on just won’t do what you want or maybe you’re having trouble understanding code plucked from the internet. Talk to the duck. The rubber duck, that is. The term “rubber ducking” or “rubber duck debugging” is a software development technique where you explain the problem you are having to a rubber duck (or appropriate substitute). Often the act of explaining the problem to someone else, even if that someone is not real, can help you figure it out. It might be like inspiration struck.
While we make the full transition of building the Xojo IDE for M1, you can continue to leverage debugging M1 apps while using the Intel based Xojo IDE on macOS.
Often when debugging an application, you’ll need to enter the same data in the same fields over & over. There is a temptation to set the value of the field to the test data. The downside of this is that you need to remove all those defaults before deploying your application.
At XDC 2019, I did a session called Avoiding Troubleshooting Troubles, which was essentially about ways to take advantage of the Xojo debugger. During the…
Here are a couple tips you can use with computed properties.