Proteus has a Virtual Terminal that connects to a microcontroller’s UART. Print every I2C transaction and calculated result to the terminal. This lets you see step-by-step where your code succeeds or fails.
: Ability to test altitude estimation logic based on pressure changes. How to Install the BMP280 Library in Proteus bmp280 proteus library