Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 06-14-2006, 01:17 AM   #1
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Rep: Reputation: 15
How to Debug an application


I am new to open source community, and doesn't know much place to ask this question. First if you know any quick response place where I should ask such question please let me know..

now, my question is ..

I have to write a Module for Open source Courier (MTA ) Application, for custom authentication, Courier provide an interface for this, they have already make some dummy function in c++ to just write a code and use them.

but I doesn't know how to Compile and Debug that, I write a sample printf statement in one of function, that I thought will be called by it, but to test it I have to complie full courier and its Authentication library....

Can any one please TELL ME HOW TO DEBUG A C++ CODE IN LINUX.

Old 06-14-2006, 01:51 AM   #2
Registered: Feb 2006
Location: Ahmedabad
Distribution: rhel5
Posts: 185
Blog Entries: 2

Rep: Reputation: 31
First of all, you can put your question to relevant space. As names are such that you yourself can decide where to post.

Secondly, you can use Debugger like GDB.
Help on GDB is easily availabe. Just google it.
Old 06-14-2006, 08:40 AM   #3
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15

I know I have posted it wrong, or maybe not

I know about the few debugger (not use any though), what I need is that I am working on module "authcustom" for courier ( what I know to test my code is compile authcustom, compilet courier (only one time though ), start application than telnet to test my code ...

Is this a little bigger process to test a spelling mistake or something ..

also Please help me with my second question following this ..



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
How to debug without having debug section in an executable ? unclesam Linux - Newbie 0 02-02-2006 06:23 AM
how to debug multi threaded application sibtay Programming 3 10-15-2004 12:02 PM
how i migrate windows application to Linux base application vandarakalpesh Linux - Software 0 06-26-2004 03:34 AM
[debug]what does the following debug information mean icoming Programming 21 06-08-2004 02:13 AM
How to debug an X application crash pbhj Linux - Software 1 06-12-2003 10:10 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:30 AM.

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