-
Notifications
You must be signed in to change notification settings - Fork 0
Debugging Moving Teapot Title on Linux Platform
This page provides information on how to debug the Magic Lantern mtea title on the Linux platform.
To debug the mtea title using the Eclipse IDE, you must first create a C/C++ Application Debug Configuration. Open up the "Debug Configurations" wizard using the "Run->Debug Configurations..." pull-down menu. Select the "New launch configuration" icon in the upper left-hand corner of the wizard.
Fill in the wizard information as follows:
In the Main tab, select the Project, "MlePlayers", and C/C++ Application, "src/player". See Figure 1 below.
In the Arguments tab, set the Program arguments to "mtea.dwp". Also specify the Working directory to "/home/msm/Projects/Github-MagicLantern/mle-titles/Titles/mtea/src". See Figure 2 below:
Note that the /home/msm/Projects/Github-MagicLantern path will have to be adjusted to the location of your Working directory for the mtea title source.
In the Environment tab, add two new environment variables:
- LD_LIBRARY_PATH - /opt/MagicLantern/lib:/opt/MagicLantern/lib/mle/rehearsal:/usr/local/lib
- MLE_WORKPRINTS - /home/msm/Projects/MagicLanternStudio
See Figure 3 below for the configuration:
You may leave the remaining tab configurations (Debugger, Source and Common) at their default settings.
Use the Debug button in the wizard to launch a debug session. This should bring up the Debug perspective where you can set breakpoints and begin debugging the title.
Copyright (c) 2019-2024 Wizzer Works All rights reserved.
Contents
- User Home Page
-
Developer Home Page
- SDK Build Environment using Microsoft Visual Studio
- SDK Build Environment using Microsoft MSBuild
- SDK Build Environment for Linux Platform
- SDK Build Environment for Qt Linux Platform
- SDK Build Environment for J2SE Platform
- SDK Build Environment for Android Platform
- Rehearsal Player Build Environment using Microsoft Visual Studio
- Rehearsal Player Build Environment for Linux Platform