Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Momentics hangs when trying to debug: (7 Items)
   
Momentics hangs when trying to debug  
I have 6.3.2 running on an x86 box.  My development environment is windows hosted.

I have been able to debug just fine for 6+ months.  This morning when I ran the debugger from momentics it hangs.  The 
process is started on the remote system, but is not running.  I have to kill momentics and restart it to recover.  Then 
I kill the process on the remote system.  I usually have to kill the gdb process on my windows machine as well.

No program will debug, even simple Hello World! apps.  Occaisionally killing the gdb process on my windows box makes 
momentics work, but more often momentics is hung and I have to kill it.

Windows (Vista) has not informed me of any updates recently.  I haven't changed the QNX machine at all.  I've watched 
(using wireshark) the communications between my windows and the remote QNX.  Not sure what I'm looking for except that 
communications do continue.

Any thoughts?  What steps can I take to figure this out?

Thanx
Tim
Re: Momentics hangs when trying to debug  
Tim Gessner wrote:
> I have 6.3.2 running on an x86 box.  My development environment is windows hosted.
> 
> I have been able to debug just fine for 6+ months.  This morning when I ran the debugger from momentics it hangs.  The
 process is started on the remote system, but is not running.  I have to kill momentics and restart it to recover.  Then
 I kill the process on the remote system.  I usually have to kill the gdb process on my windows machine as well.
> 
> No program will debug, even simple Hello World! apps.  Occaisionally killing the gdb process on my windows box makes 
momentics work, but more often momentics is hung and I have to kill it.

Very odd that it started doing that all of a sudden?

What is the IDE version you have on your windows host? 
Could you check what is gdb version you are using?

Is your x86 box working correctly otherwise? (I'm thinking maybe some hardware issue?)

RE: Momentics hangs when trying to debug  
Momentics is 4.0.1, Build id: I20070321

The hardware seems fine otherwise.  I haven't noticed anything unusual.
I had assumed that the problem was with my program, that is, changes I
have made to it which caused the problem.  So I tried a simple app with
the same results.

I'm wondering if somehow my momentics project or the debug settings
became corrupt?

Tim

-----Original Message-----
From: Aleksandar Ristovski [mailto:community-noreply@qnx.com] 
Sent: Monday, September 22, 2008 11:47 AM
To: general-toolchain
Subject: Re: Momentics hangs when trying to debug

Tim Gessner wrote:
> I have 6.3.2 running on an x86 box.  My development environment is
windows hosted.
> 
> I have been able to debug just fine for 6+ months.  This morning when
I ran the debugger from momentics it hangs.  The process is started on
the remote system, but is not running.  I have to kill momentics and
restart it to recover.  Then I kill the process on the remote system.  I
usually have to kill the gdb process on my windows machine as well.
> 
> No program will debug, even simple Hello World! apps.  Occaisionally
killing the gdb process on my windows box makes momentics work, but more
often momentics is hung and I have to kill it.

Very odd that it started doing that all of a sudden?

What is the IDE version you have on your windows host? 
Could you check what is gdb version you are using?

Is your x86 box working correctly otherwise? (I'm thinking maybe some
hardware issue?)



_______________________________________________
General
http://community.qnx.com/sf/go/post13784
RE: Momentics hangs when trying to debug  
To check if IDE is corrupted start IDE with a new clean workspace (or
use command from File menu to switch), 
create hello word project and try to debug.
Did it ever hit breakpoint in main? Does process start on target? What
state it is in? Does "Run" work? 

-----Original Message-----
From: Tim Gessner [mailto:community-noreply@qnx.com] 
Sent: September 22, 2008 3:43 PM
To: general-toolchain
Subject: RE: Momentics hangs when trying to debug

Momentics is 4.0.1, Build id: I20070321

The hardware seems fine otherwise.  I haven't noticed anything unusual.
I had assumed that the problem was with my program, that is, changes I
have made to it which caused the problem.  So I tried a simple app with
the same results.

I'm wondering if somehow my momentics project or the debug settings
became corrupt?

Tim

-----Original Message-----
From: Aleksandar Ristovski [mailto:community-noreply@qnx.com]
Sent: Monday, September 22, 2008 11:47 AM
To: general-toolchain
Subject: Re: Momentics hangs when trying to debug

Tim Gessner wrote:
> I have 6.3.2 running on an x86 box.  My development environment is
windows hosted.
> 
> I have been able to debug just fine for 6+ months.  This morning when
I ran the debugger from momentics it hangs.  The process is started on
the remote system, but is not running.  I have to kill momentics and
restart it to recover.  Then I kill the process on the remote system.  I
usually have to kill the gdb process on my windows machine as well.
> 
> No program will debug, even simple Hello World! apps.  Occaisionally
killing the gdb process on my windows box makes momentics work, but more
often momentics is hung and I have to kill it.

Very odd that it started doing that all of a sudden?

What is the IDE version you have on your windows host? 
Could you check what is gdb version you are using?

Is your x86 box working correctly otherwise? (I'm thinking maybe some
hardware issue?)



_______________________________________________
General
http://community.qnx.com/sf/go/post13784


_______________________________________________
General
http://community.qnx.com/sf/go/post13793
Re: RE: Momentics hangs when trying to debug  
Ok, it appears to be specific to some projects.  I tried a different workspace and it worked.  I then tried a new Hello 
World in the main workspace and it worked.  2 of my 3 other applications still fail.  One of my apps can be debugged.  

For the ones that fail, the debugger starts and the process is started on the remote system, but the breakpoint at main 
is never reached and momentics freezes.

Thanx
Tim
Re: RE: Momentics hangs when trying to debug  
Success!!!!

It appears there were a bunch of bogus break points.  I deleted them and everything works.

Thanx for the help.
Tim
RE: Momentics hangs when trying to debug  
I did put a new mouse on my computer in the past couple of weeks, not
sure when the last time I debugged was.  I replace a Microsoft mouse
with a Microsoft mouse, but it did install new software.

-----Original Message-----
From: Aleksandar Ristovski [mailto:community-noreply@qnx.com] 
Sent: Monday, September 22, 2008 11:47 AM
To: general-toolchain
Subject: Re: Momentics hangs when trying to debug

Tim Gessner wrote:
> I have 6.3.2 running on an x86 box.  My development environment is
windows hosted.
> 
> I have been able to debug just fine for 6+ months.  This morning when
I ran the debugger from momentics it hangs.  The process is started on
the remote system, but is not running.  I have to kill momentics and
restart it to recover.  Then I kill the process on the remote system.  I
usually have to kill the gdb process on my windows machine as well.
> 
> No program will debug, even simple Hello World! apps.  Occaisionally
killing the gdb process on my windows box makes momentics work, but more
often momentics is hung and I have to kill it.

Very odd that it started doing that all of a sudden?

What is the IDE version you have on your windows host? 
Could you check what is gdb version you are using?

Is your x86 box working correctly otherwise? (I'm thinking maybe some
hardware issue?)



_______________________________________________
General
http://community.qnx.com/sf/go/post13784