Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] DSF: cannot pause a program

> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Dmitry Smirnov
> Sent: July-03-09 4:49 AM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] DSF: cannot pause a program
> > I'm assuming that after the end of those traces you are pressing
> > the 'suspend' button?
> Yes, sorry for this omisssion
> > This works by sending an INT signal to GDB.  I'm not sure how what
> > works on Windows.  Can you try this by hand?  I mean to run 
> a program
> > straight in GDB and while it is running, interrupt it with a ^C.
> Pressing ^C in console GDB works pretty good.
> How can check how DSF communicates to GDB for INT signal?

I'm not very knowledgeable about signals so what I would do
is set a breakpoint in CDT to see if we are trying to send
the signal.

If you want to try that I suggest you set the bp
in GDBRunControl.suspend() at the line:
This should hit for sure.
Step into that call which should eventually lead
you to Spawner.interrupt()
I'm wondering if maybe we are not dealing with a Spawner
which would explain the failure...


> Dmitry
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx

Back to the top