Re: Debugging C++ function call using Interposition agent



On 2008-06-24 20:12:58 +0100, Paul Floyd <root@xxxxxxxxx> said:

On Fri, 20 Jun 2008 22:18:17 -0700 (PDT), freesoft12@xxxxxxxxx
<freesoft12@xxxxxxxxx> wrote:
Folks,

Anyone have any ideas of using an interposition agent to trap a C++
function call using an interposition agent and then printing out the
function's arguments, for debugging purposes?

I read about problems with C++ name mangling making interposing them
difficult but not sure what that meant...

xposting trimmed

Isn't interposition a java thing? If so, you'll only be able to use it
if you can manage to compile your C++ code to java bytecode.

Can't dtrace or apptrace do that sort of thing though?

Cheers,

Chris

.