我试图使用"strace -p"附加到已经运行的JBoss进程.JBoss正在使用1.5.0_15 Java JDK.不幸的是,这不起作用 - 我只得到一个futex()结果:
# strace -p 3388
Process 3388 attached - interrupt to quit
[ Process PID=3388 runs in 32 bit mode. ]
futex(0x8f18f7c, FUTEX_WAIT_PRIVATE, 1, NULL <unfinished ...>
Run Code Online (Sandbox Code Playgroud)
Strace适用于所有其他程序,但不适用于JBoss.当我通过strace启动进程时,它似乎工作正常.当我尝试连接到已经运行的进程时,它不起作用.
我正在使用64位Linux 2.6.18和32位Java JDK(RedHat Enterprise Linux 5.3,如果重要的话).
更新#1:
我尝试用"-d"运行它,但输出似乎没有任何洞察力,至少对我来说:
[root@]# strace -d -e verbose=all -p 3388
Process 3388 attached - interrupt to quit
[wait(0x137f) = 3388]
pid 3388 stopped, [SIGSTOP]
[wait(0x57f) = 3388]
pid 3388 stopped, [SIGTRAP]
[ Process PID=3388 runs in 32 bit mode. ]
futex(0x8f18f7c, FUTEX_WAIT_PRIVATE, …Run Code Online (Sandbox Code Playgroud) 我最近发现了关于twitter bootstrap的问题,我一直深入研究最新版本Bootstrap 3.在网站上,有一个"Off Canvas"模板的例子(这里:http://getbootstrap.com/examples/ offcanvas /)我一直在修改.但是这个例子中有几件事对我来说没有意义.
在"Off Canvas"模板示例中,有div元素引用类,例如"row-offcanvas","row-offcanvas-right"和"sidebar-offcanvas".我在bootstrap.css中找不到这些,也没有在Chrome DevTools中看到这些.我删除这些类时也没有看到任何效果.这些课程有什么用途吗?或者在示例中包含那些看似不存在的类是错误的?