How to detect and debug multi-threading problems?

前端 未结 17 1906
陌清茗
陌清茗 2020-11-29 16:12

This is a follow up to this question, where I didn\'t get any input on this point. Here is the brief question:

Is it possible to detect and debug problems co

17条回答
  •  天涯浪人
    2020-11-29 16:44

    I'm using GNU and use simple script

    $ more gdb_tracer

    b func.cpp:2871
    r
    #c
    while (1)
    next
    #step
    end
    

提交回复
热议问题