<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" 
  xmlns:content="http://purl.org/rss/1.0/modules/content/" 
  xmlns:dc="http://purl.org/dc/elements/1.1/" 
  xmlns:atom="http://www.w3.org/2005/Atom" 
  xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" 
  xmlns:media="http://search.yahoo.com/mrss/">
  <channel>
    <title>Debug on Mark 的滿紙方糖言</title>
    <link>https://blog.mygraphql.com/zh/tags/debug/</link>
    <description>Recent content in Debug on Mark 的滿紙方糖言</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>zh</language>
    <managingEditor>labile.zhu@gmail.com (Mark Zhu)</managingEditor>
    <webMaster>labile.zhu@gmail.com (Mark Zhu)</webMaster>
    <copyright>Mark Zhu ©2026, All Rights Reserved</copyright>
    <lastBuildDate>Wed, 07 Jun 2023 20:12:15 +0800</lastBuildDate>
    
        <atom:link href="https://blog.mygraphql.com/zh/tags/debug/index.xml" rel="self" type="application/rss+xml" />
    

      
      <item>
        <title>调试与观察 istio-proxy Envoy sidecar 的启动过程</title>
        <link>https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/</link>
        <pubDate>Wed, 07 Jun 2023 20:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Wed, 07 Jun 2023 20:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/</guid>
        <description>&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#%e8%b0%83%e8%af%95%e4%b8%8e%e8%a7%82%e5%af%9f-istio-proxy-envoy-sidecar-%e7%9a%84%e5%90%af%e5%8a%a8%e8%bf%87%e7%a8%8b&#34;&gt;调试与观察 istio-proxy Envoy sidecar 的启动过程&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#debug-%e5%88%9d%e5%a7%8b%e5%8c%96%e4%b9%8b%e9%9a%be&#34;&gt;debug 初始化之难&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#envoy-%e7%9a%84%e5%90%af%e5%8a%a8-attach-%e6%96%b9%e6%b3%95&#34;&gt;Envoy 的启动 attach 方法&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#%e6%89%8b%e5%b7%a5-inject-%e7%9a%84-istio-proxy-container&#34;&gt;手工 inject 的 istio-proxy container&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#1-%e5%ae%9a%e5%88%b6%e6%89%8b%e5%b7%a5%e6%8b%89%e8%b5%b7%e7%9a%84-istio-proxy-%e7%8e%af%e5%a2%83&#34;&gt;1. 定制手工拉起的 istio-proxy 环境&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#2-%e5%90%af%e5%8a%a8-remote-debug-server-%e4%b8%8e-vscode-debug-session&#34;&gt;2. 启动 remote debug server 与 vscode debug session&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#21-%e8%ae%be%e7%bd%ae%e6%96%ad%e7%82%b9&#34;&gt;2.1 设置断点&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#3-%e5%90%af%e5%8a%a8-pilot-agent-%e5%92%8c-envoy&#34;&gt;3. 启动 pilot-agent 和 envoy&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#4-%e5%bc%80%e5%a7%8b-debug&#34;&gt;4. 开始 debug&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#%e5%b8%b8%e7%94%a8%e6%96%ad%e7%82%b9&#34;&gt;常用断点&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#%e9%99%84%e5%bd%95---%e5%86%99%e7%bb%99%e8%87%aa%e5%b7%b1%e7%9a%84%e4%b8%80%e4%ba%9b%e5%a4%87%e5%bf%98&#34;&gt;附录 - 写给自己的一些备忘&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#istio-auto-inject-%e7%9a%84-sidecar-container--%e6%88%91%e6%b2%a1%e6%9c%89%e4%bd%bf%e7%94%a8%e8%bf%99%e7%a7%8d%e6%96%b9%e6%b3%95&#34;&gt;Istio auto inject 的 sidecar container  (我没有使用这种方法)&lt;/a&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#%e5%9c%a8-worker-node-%e4%b8%8a-debugger-wait-process&#34;&gt;在 worker node 上 Debugger wait process&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#debugger-follow-process-fork&#34;&gt;Debugger follow process fork&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#debugger-wrapper-script&#34;&gt;Debugger wrapper script&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#%e6%b5%81%e9%87%8f-debug&#34;&gt;流量 debug&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/#lldb-%e5%b8%b8%e7%94%a8%e5%91%bd%e4%bb%a4%e5%8d%95&#34;&gt;lldb 常用命令单&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src=&#34;https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy-start/index.assets/image-logo.png&#34; alt=&#34;image-20230607223812475&#34;&gt;&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>lldb</category>
            
          
            
              <category>debug</category>
            
          
            
              <category>istio</category>
            
          
            
              <category>envoy</category>
            
          
            
              <category>cloud</category>
            
          
            
              <category>dev-env</category>
            
          
        
        
        
      </item>
      
      <item>
        <title>调试 Istio 网格中运行的 Envoy sidecar C&#43;&#43; 代码</title>
        <link>https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy/</link>
        <pubDate>Wed, 10 May 2023 17:12:15 +0800</pubDate>
        <author>labile.zhu@gmail.com (Mark Zhu)</author>
        <atom:modified>Wed, 10 May 2023 17:12:15 +0800</atom:modified>
        <guid>https://blog.mygraphql.com/zh/posts/cloud/istio/debug-istio-proxy/</guid>
        <description>&lt;h1 id=&#34;调试-istio-网格中运行的-envoy-sidecar-c-代码&#34;&gt;调试 Istio 网格中运行的 Envoy sidecar C++ 代码&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;本文来源于我的开源书籍 &lt;a href=&#34;https://istio-insider.mygraphql.com/zh_CN/latest/dev-istio/dev-istio-proxy/debug-istio-proxy/debug-istio-proxy.html&#34;&gt;《Istio Insider》&lt;/a&gt; 。&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2 id=&#34;介绍&#34;&gt;介绍&lt;/h2&gt;
&lt;p&gt;调试在 Istio 网格中运行的 Envoy sidecar C++ 代码。 它有助于在代码级别深入研究 sidecar。 它使我们在解决 Istio 问题或编写更好的 EnvoyFilter 或 eBPF 跟踪程序时更有信心。 本文介绍如何使用 &lt;code&gt;VSCode&lt;/code&gt; 和 &lt;code&gt;lldb&lt;/code&gt; 调试 Envoy istio-proxy sidecar。&lt;/p&gt;</description>
        
        <dc:creator>Mark Zhu</dc:creator>
        
        
        
        
          
            
              <category>lldb</category>
            
          
            
              <category>debug</category>
            
          
            
              <category>istio</category>
            
          
            
              <category>envoy</category>
            
          
            
              <category>cloud</category>
            
          
            
              <category>dev-env</category>
            
          
        
        
        
      </item>
      

    
  </channel>
</rss>
