Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Some help getting started
Some help getting started [message #205914] Mon, 03 December 2007 17:29
Eclipse UserFriend
Originally posted by: 4cs6fcg02.sneakemail.com

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig931FB34E6303A2C866605F1B
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi all,

I received some code from a colleague, and want to extend it. In order
to thoroughly comprehend what is going on, I would like to step through
it with the debugger.

I made an empty project with the default configurations, pointing it to
the folder where the source files are.

Building and running the program works fine, however, when I start
debugging, it stalls at the following line:

while(fscanf(fp, "%s -> %s -> %s -> %s", name, left, right, symbol) =3D=
=3D 4)

with the following error: No source available for "_IO_vfscanf() "

And the thread information says:

Thread [0] (Suspended: Signal 'SIGSEGV' received. Description:
Segmentation fault.)=09
4 _IO_vfscanf() 0x00002abb86e1565f=09
3 fscanf() 0x00002abb86e21a58=09
2 loadTree() /home/hendrik/workspace/ivb2/ivb.c:54 0x0000000000402cbc=09
1 main() /home/hendrik/workspace/ivb2/ivb.c:23 0x0000000000402a95=09

Any help appreciated. The tutorials proved not very useful here. Also,
to get the files imported was a real quest. It is not using the
provided Makefile. That is probably a good thing, since it didn=E2=80=99=
t
provide for debugging symbols.

TIA, H.
--=20
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
http://aouw.org
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html


--------------enig931FB34E6303A2C866605F1B
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHVDzoe+7xMGD3itQRAl9kAJ9Q9/ns3TBeK8o/ElazSmA4VFMmFQCf Ua89
76d9RghCCG1vZht5tWWs2t8=
=C2SZ
-----END PGP SIGNATURE-----

--------------enig931FB34E6303A2C866605F1B--
Previous Topic:External tool that generates source
Next Topic:Projects built because they are referenced do not have consoles?
Goto Forum:
  


Current Time: Thu Jul 18 09:15:05 GMT 2024

Powered by FUDForum. Page generated in 0.03074 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top