Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
wiki2858: IDEGeneralFAQ (Version 6)

Where IDE stores user data?#

  • Configuration area: on windows C:/Documents and Settings/<user>/momentics, on linux /home/<user>/.momentics.
  • Workspace folder (User choice): default location windows C:/ide-4.5-workspace, on linux /home/<user>/ide-4.5-workspace.
  • IDE does not write anything to windows registry

Where is the log file?#

Log file is very useful for troubleshooting, it contains error messages that user won't see in IDE itself, or has more detailed messages. Log file is in <workspace>/,metadata/.log. If it is not there - means IDE did not start, in this case log created in configuration area, see above. If you still could not find it you can start it with -consolelog option.

Where IDE is installed?#

Normally IDE would be installed in $QNX_HOST/usr/qde/eclipse, i.e. "/opt/qnx640/host/linux/x86/usr/qde/eclipse" on linux. Qde launcher on linux installed in $QNX_HOST/usr/bin/qde (which should be in your PATH). For windows you can use launcher directly from eclipse folder, i.e $QNX_HOST/usr/qde/eclipse/qde.exe. If you install standalone IDE it does not record its location anywhere, so you have to remember it (or search for qde).

Can IDE work from read-only installation?#

Yes as long you create workspace outside of installation folder, see "Where IDE stores data?".

IDE does not start. Help!#

The reasons could be the following:

  • Corrupted Installation - Check log file for "Cannot load bundle" message
  • Corrupted configuration area. You can remove this directory and try to restart again, see "Where IDE stores data?".
  • Bad permissions on configuration area
  • Bad permissions on <workspace> folder
  • Corrupted <workspace> folder. Try to start in another workspace, see "How to switch workspace".
  • Bad environment variable settings, see "Which environment variables IDE uses?"

How to switch workspace?#

Normally IDE would prompt you on startup for location of workspace.
You can switch it from IDE itself from "File->Switch Workspace" menu.
If you want to have prompt on startup (and you previous disable it by selecting "Do not show me this dialog again") open "Window->Preferences" and select "General->Startup and Shutdown", then pick "Prompt for workspace on startup".
To pick a different workspace on startup from command line use "-d" option of "qde" launcher (or shortcut), or edit qde.ini in IDE installation and add it before -vmargs (Note: qde launcher on Linux does not pass arguments to eclipse launcher, you should edit qde.ini in this case)

IDE starts but I get licensing errors when trying to open any QNX perspectives or create projects. I check the license and it is valid!#

For Linux:
IDE should have LD_LIBRARY_PATH set for location containing license library. If you using usr/bin/qde script it automatically sets it for you, otherwise you have to set it from command line:
(IDE 4.0.x) export LD_LIBRARY_PATH=$QNX_HOST/usr/bin:$LD_LIBRARY_PATH
(IDE 4.5.x) export LD_LIBRARY_PATH=$QNX_HOST/usr/lib:$LD_LIBRARY_PATH

For Windows:
Ensure that "%QNX_HOST%\usr\bin" is included in the %PATH% environment variable. To verify where it appears in the $PATH variable, use the following command in a Windows command prompt: set %PATH%

I cannot connect to my targets, what it could be?#

For Linux: Disable "SELinux" if it is currently enabled.

  • Configure SELinux by launching "Desktop"->"System Settings"->"Security Level".
  • Click the SELinux tab, unselect "Enabled", then reboot your system.

For Windows: Check you outbound firewall settings.

Which environment variables IDE uses?#

(6.4.0 example)
QNX_CONFIGURATION=/etc/qnx
QNX_HOST=/opt/qnx640/host/linux/x86
QNX_TARGET=/opt/qnx640/target/qnx6
PATH=$QNX_HOST/usr/bin:$PATH
MAKEFLAGS=-I$QNX_TARGET/usr/include

How to Troubleshoot?#

  • Option 1: Look at IDE log file, <workspace>/.metadata/.log. It contains exceptions recorded during execution. Sometimes it has meaningful information.
  • Option 2: Search on the internet. You most likely hit qnx forum, cdt forum or eclipse forum which has your answer.
  • Option 3: If option 1 and 2 did not help, post a message on IDE forum

Back