开发者

total view debugger - debugging a process thats forked from a startup process at launch

开发者 https://www.devze.com 2023-04-11 08:58 出处:网络
I have application that has two executables. One that we launch and it forks n instances of the other.

I have application that has two executables. One that we launch and it forks n instances of the other.

Now I have to debug the second tsk file开发者_C百科 at launch. I can do it later using the attach to process option. But during launch, there seems to be some memory stuff that I need to debug.

Is there a way to do this.


If you link your program with the dbfork library, totalview should automatically attach to the forked process.

See “Linking with the dbfork Library” contained in the “Compilers and Platforms” Chapter of the TotalView Reference Guide.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号