Difference between revisions of "HowTo:Debugging UBIK"
Line 228: | Line 228: | ||
The user has to perform a few additional navigation steps, but on the other hand, they have to make that choice anyway. | The user has to perform a few additional navigation steps, but on the other hand, they have to make that choice anyway. | ||
We even help them selecting a pair of shoes by leading them through the right choices. | We even help them selecting a pair of shoes by leading them through the right choices. | ||
− | As a nice side-effect, the result consists of much fewer shoes so it's computationally cheaper to load all the videos. | + | As a nice side-effect, the result consists of much fewer shoes, so it's computationally cheaper to load all the videos. |
− | Optimally, the parameters for the filtering can be inferred even without the user inputting them | + | Optimally, the parameters for the filtering can be inferred even without the user inputting them explicitly, e.g., by looking at the weather and the user's calendar (sunny weather, hiking trip: probably not the rain boots). |
Anyway, in some cases the use-case can be rearranged so the amount of data and information presented to the user at one point in time is smaller. | Anyway, in some cases the use-case can be rearranged so the amount of data and information presented to the user at one point in time is smaller. |
Revision as of 13:55, 15 February 2024
One of the most complex challenges when working on any software project is to debug unintended behavior. In UBIK®, there is an inherent structure to every project, which we can exploit for debugging. Let's find out, how.
Quick-fix check list
Many issues can be resolved by going through the following check list.
- Check settings and configurations for typos, missing entries and other errors
- Restart UBIK® Studio and reconnect to your DB to avoid caching issues
- Check whether all plugins were loaded correctly
- In case the custom code was changed, or UBIK® was upgraded to a new version:
- Compile and publish the customizing (F6)
- Restart the Enterprise Service
- Restart all Web Services
- In case the data model for the client was changed:
- Rebuild and publish the ACM meta definitions using the ACM manager
- Restart all web services
- Restart the UBIK® client application to make sure new meta definitions and content are received
A general policy for debugging
Debugging can be approached methodically. Here's a basic plan for debugging software.
- Reproduction: Get all available, relevant information about the bug and confirm the problem in a test setup
- Inspection: Inspect the actual behavior to understand the cause
- Fix: Design and implement a solution
- Retest: Test the fix