Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dev:eclipse [2019/09/21 21:44]
tedfelix [Set Up Rosegarden Source Under Eclipse]
dev:eclipse [2020/08/02 02:25] (current)
tedfelix [Build]
Line 74: Line 74:
  
   $ ./​rosegarden   $ ./​rosegarden
 +
 +===== Development Configuration =====
 +
 +Core dumps can be quite handy when debugging, but generally these are turned off to avoid wasting disk space. ​ To turn them back on, edit ''/​etc/​security/​limits.conf''​ and add these lines:
 +
 +<​file>​
 +*               ​hard ​   core            unlimited
 +*               ​soft ​   core            unlimited
 +</​file>​
 +
 +Reboot your machine and core dumps should be enabled. ​ Confirm with the ''​ulimit''​ command:
 +
 +  $ ulimit -c
 +  unlimited
  
 If you have a machine with multiple cores (who doesn'​t these days?) you probably want to add this to the end of your .bashrc file to tell make that it can run multiple jobs simultaneously:​ If you have a machine with multiple cores (who doesn'​t these days?) you probably want to add this to the end of your .bashrc file to tell make that it can run multiple jobs simultaneously:​
Line 165: Line 179:
 By default, Eclipse doesn'​t automatically save your files when you build. ​ If you would prefer that behavior, go to Window > Preferences > General > Workspace > Build. ​ Set the "Save automatically before manual build" checkbox. ​ This avoids build errors if you forget to save a file that you've changed. By default, Eclipse doesn'​t automatically save your files when you build. ​ If you would prefer that behavior, go to Window > Preferences > General > Workspace > Build. ​ Set the "Save automatically before manual build" checkbox. ​ This avoids build errors if you forget to save a file that you've changed.
  
-===== Unlimited Console Buffer =====+===== Unlimited ​Run Console Buffer =====
 By default, Eclipse limits debug console output to 80,000 bytes. ​ Rosegarden generates a lot of debug output. ​ It's a good idea to turn this limit off.  Go to Window > Preferences > Run/Debug > Console. ​ Uncheck "Limit console output"​. By default, Eclipse limits debug console output to 80,000 bytes. ​ Rosegarden generates a lot of debug output. ​ It's a good idea to turn this limit off.  Go to Window > Preferences > Run/Debug > Console. ​ Uncheck "Limit console output"​.
 +
 +===== Massive Build Console Buffer =====
 +By default, Eclipse limits build console output to 500 lines. ​ This is not sufficient when things go wrong in template-land. ​ Go to Window > Preferences > C/C++ > Build > Console. ​ In the "Limit console output (number of lines)"​ field, enter 50000.
  
 ===== Search Editor Reuse ===== ===== Search Editor Reuse =====
 
 
dev/eclipse.1569095059.txt.gz ยท Last modified: 2019/09/21 21:44 by tedfelix
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki