- 浏览: 279221 次
- 性别:
- 来自: 北京
文章分类
最新评论
-
langzhe:
Mac 下用 sudo cpan Template,依然不能 ...
第一次 使用 tsung -
langzhe:
<server host='127.0.0.1' por ...
ejabberd/tsung 做压力测试万万不可忽视测试工具问题 -
dlliwei:
jabberd_register.xml 内容如下(我的ser ...
ejabberd/tsung 做压力测试万万不可忽视测试工具问题 -
dlliwei:
你好,我安装tsung后执行命令: tsung -f jabb ...
ejabberd/tsung 做压力测试万万不可忽视测试工具问题 -
bit1129:
这么复杂的一个东西,一句话说完了?
keepalive
主要步骤自己记下
Flags can be a single atom, or a list of flags. The available flags are: Traces the messages the process sends. Traces the messages the process receives. Traces the messages the process receives and sends. Traces global function calls for the process according to the trace patterns set in the system (see tp/2). Traces process related events to the process.
官方文档http://www.erlang.org/doc/man/dbg.html
测试的例子
Eshell V5.7.4 (abort with ^G)
2> ls
2> ().
.test_dbg.erl.swp test_dbg.beam test_dbg.erl
test_dbg.erl~
ok
3> Pid = test_dbg:test().
<0.38.0>
4> dbg:tracer().
{ok,<0.40.0>}
5> dbg:p(Pid,[m,proces]).
{error,{bad_flags,[proces]}}
6> Pid.
<0.38.0>
7> dbg:p(Pid,[m,procs]).
{ok,[{matched,nonode@nohost,1}]}
8> test_dbg:send(Pid).
(<0.38.0>) << {<0.35.0>,test}
(<0.38.0>) <0.35.0> ! returnok
returnok
(<0.38.0>) exit normal
9> test_dbg:send(Pid).
timeout
10> f(),Pid = test_dbg:test().
<0.48.0>
11> test_dbg:send(Pid).
returnok
12> f(),Pid = test_dbg:test().
<0.51.0>
13> dbg:p(Pid,[m,procs]).
{ok,[{matched,nonode@nohost,1}]}
14> test_dbg:send(Pid).
(<0.51.0>) << {<0.35.0>,test}
(<0.51.0>) <0.35.0> ! returnok
(<0.51.0>) exit normal
returnok
15> dbg:p(Pid,[call...
{ok,[{matched,nonode@nohost,0,{no_proc,<0.51.0>}}]}
16> f(),Pid = test_dbg:test().
<0.56.0>
17> dbg:p(Pid,[call]).
{ok,[{matched,nonode@nohost,1}]}
18> test_dbg:send(Pid).
returnok
19> f(),Pid = test_dbg:test().
<0.60.0>
20> dbg:p(Pid,[s]).
{ok,[{matched,nonode@nohost,1}]}
21> test_dbg:send(Pid).
(<0.60.0>) <0.35.0> ! returnok
returnok
22> dbg:p(Pid,[r]).
{ok,[{matched,nonode@nohost,0,{no_proc,<0.60.0>}}]}
23> f(),Pid = test_dbg:test().
<0.65.0>
24> dbg:p(Pid,[r]).
{ok,[{matched,nonode@nohost,1}]}
25> test_dbg:send(Pid).
returnok
26> (<0.65.0>) << {<0.35.0>,test}
26> f(),Pid = test_dbg:test().
<0.69.0>
27> dbg:p(Pid,[m]).
{ok,[{matched,nonode@nohost,1}]}
28> test_dbg:send(Pid).
(<0.69.0>) << {<0.35.0>,test}
(<0.69.0>) <0.35.0> ! returnok
returnok
29> f(),Pid = test_dbg:test().
<0.73.0>
30> dbg:p(Pid,[c]).
{ok,[{matched,nonode@nohost,1}]}
31> test_dbg:send(Pid).
returnok
32> f(),Pid = test_dbg:test().
<0.77.0>
33> test_dbg:send(Pid).
returnok
34> f(),Pid = test_dbg:test().
<0.80.0>
35> dbg:p(Pid,[p]).
{ok,[{matched,nonode@nohost,1}]}
36> test_dbg:send(Pid).
(<0.80.0>) exit normal
returnok
37> f(),Pid = test_dbg:test().
<0.84.0>
38> dbg:p(Pid,[sos]).
{ok,[{matched,nonode@nohost,1}]}
39> test_dbg:send(Pid).
returnok
40> dbg:p(Pid,[sos]).
{ok,[{matched,nonode@nohost,0,{no_proc,<0.84.0>}}]}
41> f(),Pid = test_dbg:test().
<0.89.0>
42> dbg:p(Pid,[all]).
{ok,[{matched,nonode@nohost,1}]}
43> test_dbg:send(Pid).
(<0.89.0>) << {<0.35.0>,test}
(<0.89.0>) in {test_dbg,hello,0}
(<0.89.0>) <0.35.0> ! returnok
(<0.89.0>) exit normal
returnok
44> dbg:p(Pid,[clear]).
{ok,[{matched,nonode@nohost,0,{no_proc,<0.89.0>}}]}
45> f(),Pid = test_dbg:test().
<0.94.0>
46> dbg:p(Pid,[clear]).
{ok,[{matched,nonode@nohost,1}]}
47> test_dbg:send(Pid).
returnok
48> dbg:get_tracer().
{ok,<0.41.0>}
49> dbg:get_tracer().
{ok,<0.41.0>}
50> dbg:get_tracer().
{ok,<0.41.0>}
51> dbg:t
tp/2 tp/3 tp/4
tpl/2 tpl/3 tpl/4
trace_client/2 trace_client/3 trace_port/2
trace_port_control/1 trace_port_control/2 tracer/0
tracer/2 tracer/3 transform_flags/1
51> dbg:tp
tp/2 tp/3 tp/4 tpl/2 tpl/3 tpl/4
51> dbg:tp(test_dbg,[])
51> .
{ok,[{matched,nonode@nohost,5}]}
52> f(),Pid = test_dbg:test().
<0.102.0>
53> test_dbg:send(Pid).
returnok
54> dbg:get_tracer().
{ok,<0.41.0>}
55> f(),Pid = test_dbg:test().
<0.106.0>
56> dbg:p(Pid,[all]).
{ok,[{matched,nonode@nohost,1}]}
57> dbg:tp(test_dbg,[])
57> .
{ok,[{matched,nonode@nohost,5}]}
58> test_dbg:send(Pid).
(<0.106.0>) << {<0.35.0>,test}
(<0.106.0>) in {test_dbg,hello,0}
(<0.106.0>) <0.35.0> ! returnok
(<0.106.0>) exit normal
returnok
59> dbg:get_tracer().
{ok,<0.41.0>}
60> f(),Pid = test_dbg:test().
<0.112.0>
61> dbg:p(Pid,[]).
{ok,[{matched,nonode@nohost,1}]}
62> dbg:tp(test_dbgs,[])
62> .
{ok,[{matched,nonode@nohost,0}]}
63> test_dbg:send(Pid).
returnok
64> test_dbg:send(Pid).
timeout
1 -module(test_dbg). 2 -export([send/1, test/0, hello/0]). 3 4 test() -> 5 Pid = spawn(?MODULE, hello, []), 6 Pid. 7 8 send(Pid) -> 9 Pid ! {self(),test}, 10 loop(). 11 12 hello() -> 13 receive 14 {P,test} -> 15 P ! returnok 16 end, 17 ok. 18 loop() -> 19 receive 20 T -> 21 T 22 after 11 -> 23 timeout 24 end. "test_dbg.erl" 24L, 341C 已写入 24,8 全部
发表评论
-
分析 mnesia 索引慢的问题,结果出乎意料.
2015-12-15 15:09 1309分析 mnesia 索引慢的 ... -
keepalive
2014-08-12 17:30 1207{keepalive, Boolean}(TCP/IP so ... -
erlang 手动回收内存
2014-01-20 16:39 1574%%% Garbage collection may ta ... -
Erlang内存分布
2014-01-17 20:18 1980此文来自:https://blog.heroku.com/ ... -
flush 方法小用和pid()方法
2014-01-08 19:23 9921> flush(). ok 2> Pi ... -
Erlang bit语法入门-1
2013-05-14 12:18 869Erlang bit语法入门 1> Red ... -
++操作与lists:concat操作比较 (lists:concat运算结果)
2013-04-11 14:53 1153测试环境 Linux jason-lxw 3.2.0-3 ... -
解决错误src/rabbit_networking.erl:49: type hostname() undefined
2013-02-21 12:31 999使用 make USE_SPECS=false 参数编译 ... -
我的第一个escript
2013-02-21 11:38 9241 #!/usr/bin/env escript ... -
不要忽略任何一个错误提示,更要找到原因linked websocket controlling loop crashed with reason: kille
2013-02-20 14:29 1074开发程序的时候,好几次都看到后台打出下面的错误日志。 ... -
ets:update_counter实现数字循环
2013-01-18 17:33 2029首先初始化为1 ets:insert(?MODULE, ... -
Re 从表头合理取出host
2013-01-17 15:46 879hd(re:split(Host, ":" ... -
测试 erlang:monitor
2012-11-28 18:59 942测试代码 1 -module(testmonito ... -
lcnt工具
2012-11-20 13:54 708lcnt工具可以统计虚拟机内部的锁使用次数和冲突次数指导系统的 ... -
数字前面补零
2012-11-16 17:04 709lists:flatten(io_lib:fwrite(&qu ... -
get uuid
2012-11-02 10:56 12101、 string:strip(os:cmd("u ... -
apns推送
2012-10-26 11:51 1135%%%------------- ... -
make rel Command 'generate' not understood or not applicable
2012-09-21 11:14 1869今天 编译riak时遇到了 Command 'gene ... -
Did you notice the concept of "save queue"?
2012-09-14 17:36 594Did you notice the concept o ... -
Erlang截取中文问题
2012-08-20 15:06 1438NewSummary = xmerl_ucs:to_utf8( ...
相关推荐
MTK GAT调试工具,里面有打开dbg文件的工具,目录位于gat-win32-3\gat-win32-3\prebuilt\QATT\aee_extract.exe
逆向工具x64dbg调试工具
dbg_x86_6.6.03.5.rar
windows蓝屏原因定位工具和使用教程,内含详细使用教程。
x64dbg辅助管理器是一款开发调试工具,是用ahk和Delphi两种编程语言搞的x64dbg辅助程序,主要方便用户对x64dbg进行管理操作,需要与x64dbg配合使用!
windows程序开发调试工具 x32dbg x64dbg zip资源包,下载后解压直接使用,无需安装
x64dbg 强大的反汇编工具
汇顶coodix触摸屏量产工具,用于触摸屏的测试,调试,程序更新,支持gt9x的触摸芯片。添加adb端调试
可以过VMP SE TMP 等强壳
dbg_x86_6.11.1.404.msi微软开发工具包。h dbghelp.h dbg_x86_6.11.1.404.msi微软开发工具包
Windows 调试工具 老版本了,dbg_x86_6.11.1.404,需要的可以下载看看
x64dbg是软件逆向里必不可少的动态调试工具,本来考虑学习一下OD,但是考虑到OD很久之前就已经停止维护,而x64dbg则是一个开源项目,有大量的人员进行维护,很多功能都比OD更加优秀。所以建议使用x64dbg进行学习。 ...
x64_dbg使用的Qt,TitanEngine,BeaEngine,青蟹,杨松,LZ4和XEDParse。 操作简单,功能强大的开发 x64_dbg使用C ++和Qt4的快速添加新的功能。 脚本化 x64_dbg有一个集成的,可调试,ASM-like脚本语言。 社区...
dbg是一款跨平台诊断和调试工具,支持MingGw等编译器。在程序崩溃的情况下可以打印出dump文件
windows程序开发调试工具 x32dbg x64dbg zip资源包,下载后解压直接使用,可直接使用免安装或者安装都行
x64dbg反汇编工具,程序调试器
x64_dbg是一款windows系统下非常优秀的32位和64位调试器,与目前热门的“OllyDbg”十分相似,使用过OllyDbg调试工具的朋友应该很容易上手操作。软件具有简洁的界面以及强大的功能,提供了类似C的表达式解析器、全...
CTF工具之X64dbg_2018_10_11(reverse)
x64dbg调试器主要分为三部分载体:DBG是调试器的调试功能部分,它处理调试技术(使用的 TitanEngine),并为GUI提供数据。GUI是调试器的图形部分,它采用的Qt编程语言,提供用户交互界面。Bridge是DBG和GUI部分的通信...
x64dbg动态调试,懂得都懂。...x64dbg是一款专业的windows系统下的64位调试器,界面简洁、操作简单,与“OllyDbg”调试工具非常相似,如果之前使用过OllyDbg这款调试工具的朋友,可以直接上手使用。