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
Next revision Both sides next revision
dev:eclipse [2020/02/05 15:49]
tedfelix [Unlimited Console Buffer]
dev:eclipse [2020/09/24 23:50]
tedfelix [Development Configuration]
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 85: Line 99:
   export QT_FATAL_WARNINGS=1   export QT_FATAL_WARNINGS=1
  
-This will make sure any Qt warnings stop the run so you will notice them and fix them.  This is really helpful when working with signals and slots since the compiler has no idea whether the names of signals and slots actually exist.  Downside: there is a slight chance that this will cause Qt apps (built in debug mode) to crash when run from the command line.+This will make sure any Qt warnings stop the run so you will notice them and fix them.  This is really helpful when working with signals and slots since the compiler has no idea whether the names of signals and slots actually exist.  Downside: there is a slight chance that this will cause Qt apps (built in debug mode) to crash when run from the command line.  //[In Ubuntu 20.04 I'm getting harmless Xcb warnings in the Matrix editor that cause Rosegarden to crash.  Removing QT_FATAL_WARNINGS for now.  Retest at the next Ubuntu LTS release.]//
  
 If you just need to build Rosegarden, you can stop here.  Otherwise, if you are interested in doing some development with Eclipse, read on.... If you just need to build Rosegarden, you can stop here.  Otherwise, if you are interested in doing some development with Eclipse, read on....
Line 168: Line 182:
 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".
  
-===== Unlimited Build Console Buffer =====+===== 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. 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.
  
 
 
dev/eclipse.txt ยท Last modified: 2024/01/05 00:38 by tedfelix
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki