-
-
Notifications
You must be signed in to change notification settings - Fork 4
Debugging
Normally a entry.tp
of a plugin will execute some application or script on startup, with the entry:
"plugin_start_cmd": "\"%TP_PLUGIN_FOLDER%SamplePlugin\\SamplePlugin.exe\"",
Plugin in this example: %appdata%\TouchPortal\plugins\SamplePlugin\entry.tp
What you will do is either remove this before starting TouchPortal, or just kill SamplePlugin.exe
in Task Manager.
TouchPortal will not care to much about the process being killed.
You can then start the plugin in debug mode, from Visual Studio, and everything should just work. As long as the plugin can connect and pair with TouchPortal, you will be able to debug.
You might instead want to attach to the process, but then you must have the output to this folder and all of that.
Much simpler and less pain to just to the things above instead.
TouchPortal will not magically do anything when the entry.tp
file is changed.
So the simplest on entry.tp
changes is to restart TouchPortal.
- Home
- Development
- Getting started
- TODO: Entry.tp
- TODO: Commands
- TODO: Events
- Logging
- Parallelization
- TODO: Graphics / Images
- TODO: Plugins with GUI
- Create a .tpp package
- TODO: Creating a installer
- Troubleshooting
- How the SDK works
- Other SDKs