<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pebble8888</author_name>
  <author_url>https://blog.hatena.ne.jp/pebble8888/</author_url>
  <blog_title>Pebble Coding</blog_title>
  <blog_url>https://pebble8888.hatenablog.com/</blog_url>
  <categories>
    <anon>C++11</anon>
  </categories>
  <description>私がデバッグする際はprintfなどでデバッグ情報をコンソールに出力し、 止めたいところではassert()を埋め込んでおきます。 Objective-Cでは、以下のようなデバッグ出力をマクロを使います。 #define ALog(fmt, ...) NSLog((@&quot;%s [Line %d] &quot; fmt), __PRETTY_FUNCTION__, __LINE__, ##__VA_ARGS__) PRETTY_FUNCTIONというのはNSLog関数が呼び出された関数名が埋め込まれ、 LINEというのはソースファイル中のNSLog関数のある行番号が埋め込まれます。 また可変数引数を渡せると…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpebble8888.hatenablog.com%2Fentry%2F2013%2F07%2F14%2F194338&quot; title=&quot;printfによるデバッグ(Objective-C/VisualC++/Ruby/Python/Go/JavaScript/Java) - Pebble Coding&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-07-14 19:43:38</published>
  <title>printfによるデバッグ(Objective-C/VisualC++/Ruby/Python/Go/JavaScript/Java)</title>
  <type>rich</type>
  <url>https://pebble8888.hatenablog.com/entry/2013/07/14/194338</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
