Re: debugging a multi-threaded program on linux.
From: Michael B. Allen (mba2000_at_ioplex.com)
Date: 05/10/03
- Next message: David Roberts: "Need a log query tool/script like swatch but not"
- Previous message: TC: "Re: Scalable Server"
- In reply to: Jeff: "Re: debugging a multi-threaded program on linux."
- Next in thread: Chris Markle: "Re: debugging a multi-threaded program on linux."
- Reply: Chris Markle: "Re: debugging a multi-threaded program on linux."
- Reply: Ed L Cashin: "Re: debugging a multi-threaded program on linux."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 09 May 2003 19:30:12 -0400
On Fri, 09 May 2003 15:58:24 -0400, Jeff wrote:
>> program on ret-hat linux ? another thing that might help me is a
>> command that i could put in my code and that will print that current
>> call stuck off my program, this way i could at least know when and from
>> where am i getting into the code areas i sould not enter.
If you use GNU C I'm certain there is a way to get a sort of stack
trace. I recall a thread about it. Unfortunately I do not know the
function/macro necessary to invoke it. Perhaps someone else can put a
finger on it?
Mike
-- A program should be written to model the concepts of the task it performs rather than the physical world or a process because this maximizes the potential for it to be applied to tasks that are conceptually similar and, more important, to tasks that have not yet been conceived.
- Next message: David Roberts: "Need a log query tool/script like swatch but not"
- Previous message: TC: "Re: Scalable Server"
- In reply to: Jeff: "Re: debugging a multi-threaded program on linux."
- Next in thread: Chris Markle: "Re: debugging a multi-threaded program on linux."
- Reply: Chris Markle: "Re: debugging a multi-threaded program on linux."
- Reply: Ed L Cashin: "Re: debugging a multi-threaded program on linux."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|