From 14e8befd1daa39b866e9083c1ff82cc67c7eb342 Mon Sep 17 00:00:00 2001 From: Anchor Date: Wed, 26 Nov 2014 19:56:08 -0800 Subject: [PATCH] Fix grammar for introduction of 11.2 --- en/eBook/11.2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/eBook/11.2.md b/en/eBook/11.2.md index 33695c9d..43da089c 100644 --- a/en/eBook/11.2.md +++ b/en/eBook/11.2.md @@ -1,6 +1,6 @@ -# 11.2 Debugging by using GDB +# 11.2 Debugging with GDB -Development process during debugging code that developers often need to do one thing, Go language like PHP, Python and other dynamic languages ​​, as long as the modifications do not need to compile can be directly output, and can dynamically at runtime environments print data. Go language course can also Println like the print data to debug, but need to be recompiled each time, which is a very troublesome thing. We know that in Python with pdb / ipdb tools such as debugging, JavaScript has similar tools that are able to dynamically display variable information, single-step debugging. But fortunately Go has a similar tool support : GDB. Go inside has built in support for GDB, so we can GDB for debugging, then this section will introduce how GDB to debug Go program. +During the development process of any application, developers will always need to perform some kind of code debugging. PHP, Python, and most of the other dynamic languages, are able to be modified at runtime, as long as the modifications do not explicitly need to be compiled. We can easily print data in dynamic operating environments, outputting our changes and printing variable information directly. In Go, you can of course speckle your code with `Println`s before-hand to display variable information for debugging purposes, but any changes to your code need to be recompiled every time. This can quickly become cumbersome. If you've programmed in Python or Javascript, you'll know that the former provides tools such as pdb and ipdb for debugging, and the latter has similar tools that are able to dynamically display variable information and facilitate single-step debugging. Fortunately, Go has native support for a similar tool which can provide such support: GDB. This section serves as a brief introduction into debugging Go applications using GDB. ## GDB debugging Profile