title: Debugging Rust on Vscode : u8 not shown correctly
body: <p>I am debugging this simple Rust program on Vscode</p>
  <pre class="lang-rust prettyprint-override"><code>fn main() {
      let u8: u8 = 3;
      let b: u16 = 5;
      let c: u32 = 7;
      let d: u64 = 9;
  }
  </code></pre>
  <p>The values of these variables are displayed correctly, except for <code>u8</code></p>
  <p><a href="https://i.stack.imgur.com/PvuKe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PvuKe.png" alt="enter image description here" /></a></p>
  <p>I'm curious, is there a reason or a solution for this issue? Thank you!</p>
  <p><strong>Edit</strong>
  Here's my <code>launch.json</code> configuration. I also followed a tutorial and installed the C/C++ extension with <code>&quot;type&quot;: &quot;cppvsdbg&quot;</code>, but it gives me the same result.</p>
  <p>I'm also adding that I am a Rust newbie :)</p>
  <pre><code>{
    &quot;version&quot;: &quot;0.2.0&quot;,
    &quot;configurations&quot;: [
      {
        &quot;type&quot;: &quot;lldb&quot;,
        &quot;request&quot;: &quot;launch&quot;,
        &quot;name&quot;: &quot;Debug&quot;,
        &quot;program&quot;: &quot;${workspaceFolder}/&lt;your program&gt;&quot;,
        &quot;args&quot;: [],
        &quot;cwd&quot;: &quot;${workspaceFolder}&quot;
      }
    ]
  }
  </code></pre>
  <hr />
  <p><strong>Edit</strong>
  Thanks to @Unapiedra &amp; @ChayimFriedman, for their answers and insights. I couldn't solve this problem. But here's what I tried, someone might pick it up in the future</p>
  <ol>
  <li>I autogenerated <code>launch.json</code> (thx @Unapiedra)</li>
  <li>Following this <a href="https://github.com/vadimcn/vscode-lldb/blob/master/MANUAL.md#stdio" rel="nofollow noreferrer">doc</a>, I added this to my launch configuration</li>
  </ol>
  <pre><code>    &quot;preRunCommands&quot;: [
          &quot;type format add --format hex int&quot; // This is a test from lldb.llvm.org/use/variable.html
        ]
  </code></pre>
  <p>But it didn't work. I also tried <code>initCommands</code> to no avail.</p>