- Dec 12, 2022
- 357
- 2
Merry Christmass to all Christian community of the forum. I have tried adding debugging in my B4R code and it worked.
Tested in Arduino Nano (with old bootloader) and ESP8266.
Add the b4xlib in additional folders. Add the library in the project and use the code that follows. Then compile and when the app starts press disconnect in the logs tab and load the modified code of @Erel 's B4R_Serial_Connector in B4J. Run the application connect to the port and press continue as many times as it is required (as seen in the following B4R code). The method is Debug.BP(....) which stands for Break Point and you can pass as an argument all the native types available in B4R (int, long, uint, ulong, string, byte, float, double) or null if you don't want it to print anything.
B4X:
Tested in Arduino Nano (with old bootloader) and ESP8266.
Add the b4xlib in additional folders. Add the library in the project and use the code that follows. Then compile and when the app starts press disconnect in the logs tab and load the modified code of @Erel 's B4R_Serial_Connector in B4J. Run the application connect to the port and press continue as many times as it is required (as seen in the following B4R code). The method is Debug.BP(....) which stands for Break Point and you can pass as an argument all the native types available in B4R (int, long, uint, ulong, string, byte, float, double) or null if you don't want it to print anything.
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید