Visual Studio "조사식" 디버깅 창에서 C++ Class 보는방법?

jic5760의 이미지

안녕하세요.
Visual Studio 을 이용해서 디버깅을 하는 도중에
포인터 값으로 C++ Class을 참조해서 봐야하는 일이 생겼습니다.
조금 자세히 설명드리자면..
C++ Exception이 발생되었는데 C++ Exception 에 대한 상세한 정보는 알 수 없고

처리되지 않은 예외가 있습니다.
0xE06D7363: Microsoft C++ Exception(매개 변수: 0x0000000019930520, 0x0000004920B5A8B0, 0x00007FFF4F3D06C8, 0x00007FFF4EFC0000)
이런 내용만 있어서...ㅠㅠ

두번째 매개 변수인 0x0000004920B5A8B0 가 std::runtime_error 클래스의 포인터인데 이 안에 있는 데이터를 볼 방법이 없네요...ㅜㅜ
가능한건진 모르겠지만...

(std::runtime_error*)0x0000004920B5A8B0 이런식으로 해서 이 안에 있는 데이터를 볼 수 있는 방법이 있을까요?
물론 위 식은 먹히지 않습니다.

미리 답변에 감사드리겠습니다!

File attachments: 
첨부파일 크기
Image icon 4.PNG5.54 KB
shint의 이미지

1. 웹 컴파일러로 확인해 보실 수 있습니다.
2. using namespace std 를 확인
3. 컴파일 옵션을 확인
4. #include <> 헤더를 확인 (path 에 등록된 경로)
#include "" 는 같은 폴더
5. MSDN 이나 잘 실행 되는 책이나 사이트의 예제소스 참고.
6. 오류 코드와 프로젝트 파일을 올리시면. 확인이 가능할겁니다.

//웹 컴파일러
http://en.cppreference.com/w/cpp/container/array
http://codepad.org/
http://ideone.com/
http://cpp.sh/

구글 검색 결과

//fstream 이(가) 정의되어 있지 않습니다.
http://blog.naver.com/doublebee1/220216460902
using namespace::std; 를 해주세요.

//식별자 "std::runtime_error"이(가) 정의되어 있지 않습니다.
runtime_error 클래스
https://msdn.microsoft.com/ko-kr/library/tyahh3a9.aspx

// runtime_error.cpp
// compile with: /EHsc /GR
#include
using namespace std;

//
std::runtime_error
class runtime_error;
http://www.cplusplus.com/reference/stdexcept/runtime_error/

//
std::runtime_error
Defined in header
class runtime_error;
http://en.cppreference.com/w/cpp/error/runtime_error

----------------------------------------------------------------------------
젊음'은 모든것을 가능하게 만든다.

매일 1억명이 사용하는 프로그램을 함께 만들어보고 싶습니다.
정규 근로 시간을 지키는. 야근 없는 회사와 거래합니다.

각 분야별. 좋은 책'이나 사이트' 블로그' 링크 소개 받습니다. shintx@naver.com

jic5760의 이미지

Crashdump(minidump)파일이고 오류정보가 Memory(captured)에 있기때문에 프로젝트파일만으로 확인하기 어렵습니다.
프로젝트 사이즈도 크구요..ㅠㅠ
게다가 항상 오류가 발생하는게 아니구요...ㅠㅠㅠㅠ

 의 이미지

디버그의 길은 험난한 법이지요.

제가 많이 도와드릴 수는 없어도, 첫 단추를 제대로 끼우는 데 도움을 드릴 수는 있겠군요.

https://stackoverflow.com/questions/19500846/what-is-a-microsoft-c-exception

https://blogs.msdn.microsoft.com/oldnewthing/20100730-00/?p=13273/

jic5760의 이미지

아 답글을 이제봤네요~ 안그래도 WInDbg로 디버깅했습니다.
그런데 그래도 원인을 찾진 못했지만요...ㅠㅠ
감사합니다!

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.