LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

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

Rep: Reputation: 15
How to Debug an application


Hi,


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.

Thanks
 
Old 06-14-2006, 01:51 AM   #2
vkmgeek
Member
 
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.



www.einfochips.com
 
Old 06-14-2006, 08:40 AM   #3
vikasumit
Member
 
Registered: Apr 2006
Location: Delhi, India
Distribution: Fedore , CentOs, Debian
Posts: 121

Original Poster
Rep: Reputation: 15
Hi,

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 (http://www.courier-mta.org) 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 ..

Thanks
 
  


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
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


All times are GMT -5. The time now is 03:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration