Scenario 3: Using GDB and oops.
第3种情况:使用gdb和oops。
Listing 10. Oops after being processed by ksymoops.
清单10.ksymoops处理后的oops消息。
First, get the oops message into a file so you can run it through the ksymoops utility.
首先,将oops消息保存在一个文件中以便通过ksymoops实用程序运行它。
Act 1: "oops I created a DSL", about tasks in rake and how Jim Weirich accidentally created rake.
场景1:“oops,我创建了一种DSL ”,是关于rake中的任务,以及Jim Weirich是如何无意中创建rake的。
But do more than that: Retaining even one key tip from this column could make the difference between a small "oops" and a major catastrophe.
但是您要做的不仅是如此:即使仅保留本专栏中的一个重要技巧,也可能会产生轻微失误和重大灾难之间的天壤之别。
Peter: Oh, oops! I just threw the newspaper away. Remember? The recycling truck comes on Fridays. That's tonight.
彼得:喔,糟糕!我刚把报纸丢了,记得吗?资源回收车是星期五来。就是今天晚上。
There are complete instructions on how to use ksymoops in the kernel source /usr/src/linux/Documentation/oops-tracing. txt or on the ksymoops man page.
关于如何使用ksymoops,内核源代码 /usr/src/linux/Documentation/oops-tracing.txt 中或 ksymoops手册页上有完整的说明可以参考。
Oops, parking rules violation.
哎呦,违反停车规则了。
Oops! Where is the shuttlecock?
啊呀!毽子到哪里去了?
Oops . I'm not supposed to say.
噢,我不应该说这些的。
Oops! I almost spilled the wine.
哎哟!我差点把酒洒了。
Oops! I shouldn't have said that.
唉~我不应该这样说的。
哎呀!我不小心犯了个蠢错误。
Oops. There it goes. I'll clean it up.
糟了,掉了。我得打扫它了。
Oops. This week Mr Huntsman announced his resignation.
令人惊讶的是,这周洪博培先生宣布辞职。
Oops! It went almost 20 percent slower by using Pyrex.
噢!使用Pyrex几乎慢了20%。
OOPS was chosen because of its expertise in this arena.
选择OOPS是因为它在这个领域的专业性。
Figure 1 shows the process of formatting an Oops message.
下面的图显示了格式化oops消息的过程。
Oops. They were one of the best-performing sectors in 2012.
但银行股却是2012年表现最佳的板块之一。
Oops I think I made a boo-boo there — I hope she's not too upset.
哎哟,我想我在那儿犯了一个错——希望她不会太难过。
I see, thanks. Oops! The Bus 52 is coming. Daniel, come on. Let's go.
我知道了,谢谢。啊,52路来了,丹尼尔,快,我们走。
Benjamin: I see, thanks. Oops! The 52 bus is coming. Daniel, come on, let's go.
本杰明:我知道了,谢谢。啊,52路来了,丹尼尔,快,我们走。
The Oops message tells us that the problem is caused by the instruction at offset 3c.
Oops消息告诉我们问题是由位于偏移地址 3c的指令引起的。
But you are holding it for me. Nothing to worry about. I trust you. Oops, what's that?
可你在帮我扶着它啊。没有什么好担心的。我相信你。哦,那是什么?
Terry: Oops! I almost forget about it. Do you see the girl in the middle of the first line?
泰瑞:嗯,我差点就忘了,你看见第一排中间的那个女孩了吗?
Oops. These are aberrant situations you hope won't happen, and yet if they do your program has to cope.
这些都是你并不希望发生的异常情况,并且一旦出现这些情况,你的程序必须要做出相应的处理。
The Oops (or panic) message contains details of a system failure, such as the contents of CPU registers.
Oops(也称panic,慌张)消息包含系统错误的细节,如CPU寄存器的内容。
Just as I finish ringing up an order, a customer will say, "Oops, I forgot to pick up a fresh loaf of bread".
当我结算完一个订单时,一个顾客会说:“哎呀,我忘记拿一条新鲜的面包了。”
Offset 3c is important because that is the location that the Oops message identified as the cause of the problem.
偏移地址3c之所以很重要,是因为Oops消息将该处标识为引起问题的位置。
Offset 3c is important because that is the location that the Oops message identified as the cause of the problem.
偏移地址3c之所以很重要,是因为Oops消息将该处标识为引起问题的位置。
应用推荐