Hi All,

When program down in run-time, does it possible where down?

Best regards,
Boki.

Re: debug run-time down.. by Ulrich

Ulrich
Tue Jun 20 02:04:45 CDT 2006

Boki wrote:
> When program down in run-time, does it possible where down?

Hmmm, I don't think I understand what you mean. Seriously, your question is
grammatically and syntactically so wrong that I can barely guess what it
means, and that then doesn't make sense in the context of this newsgroup.

So, please
- provide some context (a few more sentences that describe what you want).
- let someone help you with the language barrier.

Uli


Re: debug run-time down.. by Boki

Boki
Tue Jun 20 03:08:00 CDT 2006


Ulrich Eckhardt =E5=AF=AB=E9=81=93=EF=BC=9A

> Boki wrote:
> > When program down in run-time, does it possible where down?
>
> Hmmm, I don't think I understand what you mean. Seriously, your question =
is
> grammatically and syntactically so wrong that I can barely guess what it
> means, and that then doesn't make sense in the context of this newsgroup.
>
> So, please
> - provide some context (a few more sentences that describe what you want).
> - let someone help you with the language barrier.
>
> Uli

Hi,

I have a program that receiving jpeg data from serial port, I use
OleLoadPicture to load it and WM_PAINT it.

Sometimes, the program down/crash/breakdown suddenly, but I can't see
any information to debug...

Best regards,
Boki.


Re: debug run-time down.. by Scott

Scott
Tue Jun 20 08:11:36 CDT 2006

Boki wrote:
> Hi,
>
> I have a program that receiving jpeg data from serial port, I use
> OleLoadPicture to load it and WM_PAINT it.
>
> Sometimes, the program down/crash/breakdown suddenly, but I can't see
> any information to debug...
>
> Best regards,
> Boki.

If you are not already doing this, build the program in the debug
configuration and run the program in the debugger. The debugger will
detect a crash and show the line of code that crashed, and show the
stack that will reveal who called who to get to the crash.

Sometimes, none of this works if your error causes the stack to be
corrupted. Does the stack window look broken for you?

--
Scott McPhillips [VC++ MVP]


Re: debug run-time down.. by Code

Code
Tue Jun 20 13:13:40 CDT 2006

Use another computer to "remote debug" the drawing app, or turn your system
into a dual-monitor setup, so you can have the debugger on one monitor /
computer, and the graphics app on the other.


"Boki" <bokiteam@ms21.hinet.net> wrote in message
news:1150790880.290835.253500@b68g2000cwa.googlegroups.com...


Hi,

I have a program that receiving jpeg data from serial port, I use
OleLoadPicture to load it and WM_PAINT it.

Sometimes, the program down/crash/breakdown suddenly, but I can't see
any information to debug...

Best regards,
Boki.