LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2008, 06:22 PM   #1
zakkhoyt
LQ Newbie
 
Registered: Sep 2008
Location: San Francisco
Distribution: Fedora
Posts: 8

Rep: Reputation: 0
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Eclipse and erratic stepping while debugging zakkhoyt Programming 1 10-20-2008 04:46 PM
linux reported stepping VS intel stepping whysyn Linux - Hardware 2 05-27-2005 10:21 AM
After kernel update some things dont work Vencalator Linux - Newbie 9 09-18-2003 04:10 AM
Things dont work when you dont understand withoutaclue Linux - Newbie 3 03-12-2003 09:51 AM
im not a newbie i just dont understand a few things! aaronluke Linux - General 3 10-21-2002 07:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration