Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Re: Nightly Builds

All right, good news!
About the source not showing: can you describe a bit your project directory
structure,
how did you create it, how did you build it, especially which  compile
options did you use, etc.
For example, debug option should be set etc.

Robert.
===========================================================



                                                                                                            
                    Joe deBlaquiere                                                                         
                    <jadb@xxxxxxxxx       To:     cdt-dev@xxxxxxxxxxx                                       
                    m>                    cc:                                                               
                    Sent by:              Subject:     Re: [cdt-dev] Re: Nightly Builds                     
                    cdt-dev-admin@e                                                                         
                    clipse.org                                                                              
                                                                                                            
                                                                                                            
                    04/04/02 12:57                                                                          
                    AM                                                                                      
                    Please respond                                                                          
                    to cdt-dev                                                                              
                                                                                                            
                                                                                                            



Ok, After spending a while working on Real Work (tm) I finally got back
and made this work. To be (hopefully) a little clearer, this is what I did:

     a. switch to the debug perspective
     b. "show" the Navigator view
     c. select the executable in the Navigator
     d. "Debug"->"Debug with"->"Start a C/C++ Application"

And Presto! C debugging!

A few things I noticed:

1. I can't seem to find the source files for C++. It just gives me "line
4 in main" (which really appears to be the 4th statment, but I may be
counting strangely).

2. the outer frame is always __libc_start_main, which though technically
correct, is not really useful and could prolly be 'invisible' by default.

3. I set a breakpoint in a 1 line function and it seemed to break at
entry, in the middle, and at exit from the function.

BTW: the more I use it, the better it gets, which I like.

Hopefully I'll start getting my bearing to actually fix some of the
stuff I find soon. Thanks for the help, yall!

--
Joe

thomson@xxxxxxxxxx wrote:

> ... and if you are wondering why we are content to confuse you by
silently
> doing nothing
> when you expected action,  we aren't.   It is a temporary effect from the
> shifting
> Eclipse R2 debug world.
>
> In R1 we pop up a message box telling you to select something.  That same
> code in R2
> doesn't work right but we aren't fixing it because it is going away.
When
> the Eclipse R2
> transition to Launch Configurations is complete we expect to again give
> useful feedback.
>
>
> Brian Thomson
>
>
> Samantha writes:
>
> Please make sure that you have selected the executable in your project
> while trying
> to start the debugger.  If the executable is not selected, nothing will
> happen.
>
>
> Samantha Chan
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-dev
>



_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-dev





Back to the top