LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   eclipse stepping into things that I dont' tell it to. (https://www.linuxquestions.org/questions/linux-software-2/eclipse-stepping-into-things-that-i-dont-tell-it-to-677911/)

zakkhoyt 10-20-2008 06:22 PM

eclipse stepping into things that I dont' tell it to.
 
I have a simple C++ application in eclipse. See this code:

Code:

int main(int argc, char ** argv)
{
        list<GIPSWindow>                                GIPSWindows;
        list<GipsVideoEngineLinux*>        GIPSVideoEngines;
        list<GipsVoiceEngineLib*>                GIPSVoiceEngines;

       
        // v4l1 Devices
        list<video_capability> v4l1Devices;
        list<video_capability>::iterator v4l1Iterator;
        findV4l1Devices(v4l1Devices);

        for(v4l1Iterator = v4l1Devices.begin();
                v4l1Iterator != v4l1Devices.end();
                v4l1Iterator++)
        {
                printV4l1Capabilities((video_capability)(*v4l1Iterator));
                runV4l1Window(GIPSWindows, v4l1Iterator->name);
        }
................

If I put a breakpoint at say, findV4l1Devices(v4l1Devices), then "step over", it doesn't step over at all. The execution jumps into stl_list.h (/usr/include/c++/4.3.0/bits/stl_list.h). I then cannot "step return". It seems to jump into other standard libraries as well. I cannot make it stop! If I resume, it will simply break execution again next time such a library is called.

I turned off "Load shared library symbols automatically", and unchecked "stop on startup at main()". I dont' see what else I can do to stop this.

I love eclipse, but this obstacle is very aggravating.


All times are GMT -5. The time now is 08:00 PM.