Visual Studio デバッグ中のウォッチウィンドウにおける配列ウォッチ方法の一検討

ということで、前にも書いたような気がするけど探せなかったのでメモします。
Visual Studioでデバッグ中、ウォッチウィンドウに配列の名前を入力するとその配列の中身が見えるんですが、ポインタの場合は見られない。ポインタの先が配列でもダメ。


int a[10];     // 「a」で見られる
int *b;
b = a;         // 「b」だとアドレスが見られるだけ

b[0]とかb[1]とかウォッチウインドウに入れればその値は見られるけど配列としてざーっとは見られない。
そんなときには以下です!


b,10

と入力すればサイズ10の配列と解釈して表示してくれるのです!!ばばーん!

というわけで他愛もないメモでした。

以上

コスミー について

昔(?)はゲーム作ってました。 今もなんか作ろうとしています。
カテゴリー: C++, Tips パーマリンク

Visual Studio デバッグ中のウォッチウィンドウにおける配列ウォッチ方法の一検討 への16件のフィードバック

  1. snel geld verdienen tips のコメント:

    Howdy would you mind letting me know which web host you’re utilizing? I’ve loaded your blog in 3 different web browsers and I must say this blog loads a lot faster then most. Can you suggest a good web hosting provider at a reasonable price? Thank you, I appreciate it!

  2. コスミー のコメント:

    heteml.
    all right?

  3. http://how2pierce.com/rebeccaminkoff/204.htmlレベッカミンコフ REBECCA MINKOFF バッグ ショルダーバッグ レベッカミンコフ バッグ REBECCA MINKOFF HT25IFCX01 272 FASHION CLASSICS MINI MAC ショルダーバッグ APRICOT/LIGHT GOLD:ブランドショップ AXES

  4. http://margarita.house.free.fr/rebeccaminkoff/45.html【jg】REBECCA MINKOFF レベッカミンコフ バッグ レザー ショルダーバッグ 《 Swing 》 高級感のある ラグジュアリー 本革 バッグ ?オリジナル保存袋付き!雑誌掲載:ジャングル ジャングル

  5. business success のコメント:

    If you have any queries or need something clarified, you should be able to call or send an email.
    With the range of online wholesale businesses Valentine’s Day
    this season is expected to create a large level of
    online sales. Bike Lights – Bike lights are practical but they can also add something
    extra to your bike.

  6. colors のコメント:

    Wonderful items from you, man. I have take into account your stuff prior to
    and you are just extremely great. I actually like what you have bought
    right here, really like what you are stating and the best way in which you assert it.
    You make it enjoyable and you still take care of to stay it smart.
    I can’t wait to read much more from you. That is really a tremendous site.

  7. Bandung Beton のコメント:

    With havin so much content do you ever run into any probles of plagorism or
    copyright infringement? My blog has a lot of exclusive content I’ve either authored myself or outsourced but it seems a lot of it is popping it up all over the internet without my agreement.
    Do you know any solutions to help stop content
    from being ripped off? I’d really appreciate it.

  8. iOT application development のコメント:

    You really make it appear really easy with your presentation however
    I in finding this matter to be actually something which I think I’d by no means understand.
    It seems too complicated and extremely large for me. I’m looking ahead to your next
    post, I will attempt to get the dangle of it!

  9. fb88 poker のコメント:

    Hi, this weekend is nice in support of me, since this point in time i am reading this fantastic informative piece of writing here at my residence.

  10. HJLRXFMAGBDKBJ のコメント:

    Thanks for a marvelous posting! I genuinely enjoyed reading it, you will be a great author.I will make certain to bookmark your blog and may come back in the future. I want to encourage you to ultimately continue your great work, have a nice weekend!

  11. ピンバック: Solution Manual for Auditing and Assurance Services 6th Edition Louwers, Ramsay, Sinason, Strawser, Thibodeau

  12. ピンバック: Poker Online

  13. Versicherungs Kontor Husum のコメント:

    I was curious if you ever considered changing the page layout of
    your blog? Its very well written; I love what youve
    got to say. But maybe you could a little more in the
    way of content so people could connect with it better.
    Youve got an awful lot of text for only having one or 2 pictures.
    Maybe you could space it out better?

  14. web designer のコメント:

    I’m gone to convey my little brother, that he should also go to see this web site on regular basis to obtain updated
    from most up-to-date reports.

コメントを残す

メールアドレスが公開されることはありません。