Debugging in IDE

I have successfully compiled and build a Photon app. When I want to debug
the app using qconn, I get a launch configuration error “Exception occurred
while launching”.

The log indicates a stack overflow, and one entry that seems to repeat
itself (some 8000 times) are:

org/eclipse/cdt/debug/internal/core/sourcelookup/CSourceLocator.addReference
dSourceLocations(Ljava/util/List;Lorg/eclipse/core/resources/IProject;)V


Another test app works fine! What is the problem?

Francois

Hi!

Got the same problem, but our app contains references to dynamic
libraries only, at it is not a photon app. It runs when downlaoded
to the file system and started separately. Tried both to launch
from the debugger, and attach to a running process, no difference.
If I ignore the error message, it seems like it is possible to step
in the program, we got line number information in the debug view,
variables also showing correct. The only (basic) thing missing is to be
able to step in the source code.

??

best,

Anders Lundeby


Francois Joubert <francoisj@andis.co.za> wrote in message
news:b9ansp$gr7$1@inn.qnx.com

I have successfully compiled and build a Photon app. When I want to debug
the app using qconn, I get a launch configuration error “Exception
occurred
while launching”.

The log indicates a stack overflow, and one entry that seems to repeat
itself (some 8000 times) are:


org/eclipse/cdt/debug/internal/core/sourcelookup/CSourceLocator.addReference
dSourceLocations(Ljava/util/List;Lorg/eclipse/core/resources/IProject;)V


Another test app works fine! What is the problem?

Francois

The only way I resolved it was to dump all the source code into a single
project. Not ideal but at least I can continue.

Francois


“Anders Lundeby” <anders@scanmatic.no> wrote in message
news:ba0c9b$lfe$1@nntp.qnx.com

Hi!

Got the same problem, but our app contains references to dynamic
libraries only, at it is not a photon app. It runs when downlaoded
to the file system and started separately. Tried both to launch
from the debugger, and attach to a running process, no difference.
If I ignore the error message, it seems like it is possible to step
in the program, we got line number information in the debug view,
variables also showing correct. The only (basic) thing missing is to be
able to step in the source code.

??

best,

Anders Lundeby


Francois Joubert <> francoisj@andis.co.za> > wrote in message
news:b9ansp$gr7$> 1@inn.qnx.com> …
I have successfully compiled and build a Photon app. When I want to
debug
the app using qconn, I get a launch configuration error “Exception
occurred
while launching”.

The log indicates a stack overflow, and one entry that seems to repeat
itself (some 8000 times) are:



org/eclipse/cdt/debug/internal/core/sourcelookup/CSourceLocator.addReference
dSourceLocations(Ljava/util/List;Lorg/eclipse/core/resources/IProject;)V


Another test app works fine! What is the problem?

Francois
\

This happens if you have cross reference projects.

“Francois Joubert” <francoisj@andis.co.za> wrote in message
news:b9ansp$gr7$1@inn.qnx.com

I have successfully compiled and build a Photon app. When I want to debug
the app using qconn, I get a launch configuration error “Exception
occurred
while launching”.

The log indicates a stack overflow, and one entry that seems to repeat
itself (some 8000 times) are:


org/eclipse/cdt/debug/internal/core/sourcelookup/CSourceLocator.addReference
dSourceLocations(Ljava/util/List;Lorg/eclipse/core/resources/IProject;)V


Another test app works fine! What is the problem?

Francois