NetBeans: Difference between revisions
m Text replacement - "<abbr title="[^"]+">(.*)<\/abbr>" to "$1" |
Adds troubleshooting info |
||
| Line 15: | Line 15: | ||
Then, setup a project in NetBeans with existing sources, and use the mountpoint | Then, setup a project in NetBeans with existing sources, and use the mountpoint | ||
== Troubleshooting == | |||
See the [[process]] page for info on using the <code>ps</code> command to find out about your NetBeans process. | |||
<code>ps</code> will tell you things about the various options (like Heap Size) that can be passed to the program on the command line, or set in defaults. For defaults, look at <code>/etc/netbeans.conf</code> Then, depending on your installation directory, look at the contents of the log file - which you can find using <code>locate messages.log</code> | |||
=== Slow Startup (NetBeans background scanning projects takes too long) === | |||
When I tailed the messages.log file, I found out that the indexing took over 40 minutes. So, startup did actually finish as I spent an hour trying to figure out why it was taking so long. | |||
<pre> | |||
INFO [org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater]: Complete indexing of 11 source roots took: 2,443,238 ms (New or modified files: 11,926, Deleted files: 2,371) [Adding listeners took: 23 ms] | |||
</pre> | |||
== Specific Resources == | == Specific Resources == | ||
* https://netbeans.org/kb/docs/php/code-templates.html#using-templates | * https://netbeans.org/kb/docs/php/code-templates.html#using-templates | ||