summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDaveHodder67 <dave.hodder@focusrite.com>2015-07-06 21:54:35 +0100
committerDaveHodder67 <dave.hodder@focusrite.com>2015-07-06 21:54:35 +0100
commit5937e719a815fdcd5b0181d62f16dfa3c5f4c8a3 (patch)
tree869b10ccde11fc6f778dcf55f4d48f921ccc89c1 /README.md
parent80a27faec1221dc501c08f0527b821bdba403bdf (diff)
downloadlaunchpad-polymaker-5937e719a815fdcd5b0181d62f16dfa3c5f4c8a3.tar.gz
launchpad-polymaker-5937e719a815fdcd5b0181d62f16dfa3c5f4c8a3.zip
debugging tips
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/README.md b/README.md
index ebd7731..345082c 100644
--- a/README.md
+++ b/README.md
@@ -95,6 +95,15 @@ Instead, you're going to have to do things the old fashioned way - by blinking L
95 95
96If do you want to debug interactively (and of course you do), you can use the simple command-line simulator located in the `/tools` directory. It is compiled and ran as part of the build process, so it serves as a very basic test of your app before it is baked into a sysex dump. If you want to test particular button presses or MIDI messages, just modify it to send those messages to your app, and debug away. Yes, it's rudimental - wiring it up to the device over MIDI for interactive testing would be fab! 96If do you want to debug interactively (and of course you do), you can use the simple command-line simulator located in the `/tools` directory. It is compiled and ran as part of the build process, so it serves as a very basic test of your app before it is baked into a sysex dump. If you want to test particular button presses or MIDI messages, just modify it to send those messages to your app, and debug away. Yes, it's rudimental - wiring it up to the device over MIDI for interactive testing would be fab!
97 97
98To debug the simulator interactively in Eclipse:
99
1001. Click the down arrow next to the little "bug" icon in the toolbar
1012. Choose "Debug configurations..."
1023. Right click "C/C++ Application" and choose "New...:
1034. Under "C/C++ Application" click Browse... and locate the simulator binary at `/vagrant/build/simulator`
1045. Hit "Debug"!
105
106
98# Vagrant tips 107# Vagrant tips
99When you're done developing, simply type `vagrant suspend` to halt your VM without destroying it - this will make `vagrant up` a lot quicker next time. If you're really finished, `vagrant destroy` will completely remove the VM from your system (but not any of your code). 108When you're done developing, simply type `vagrant suspend` to halt your VM without destroying it - this will make `vagrant up` a lot quicker next time. If you're really finished, `vagrant destroy` will completely remove the VM from your system (but not any of your code).
100 109