Link to home
Start Free TrialLog in
Avatar of CameronP
CameronP

asked on

Output from release version of My code gives me a warning??

I wrote a small app to do some reading from my serial port which is sent from another device.  I was using it in debug mode until I thought it was OK to use until it needed more functionality.  In debug mode it never showed me any warnings, but when I built it for the first time in release mode it gave me the following output:

Loaded 'C:\Program Files\Microsoft Visual Studio\MyProjects\MP830 Serial Port Test2\Release\MP830 Serial Port Test2.exe', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLE32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLEAUT32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\USER32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\GDI32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\KERNEL32.DLL', no matching symbolic information found.
Loaded symbols for 'C:\WINDOWS\SYSTEM\MSVCRT.DLL'
Loaded symbols for 'C:\WINDOWS\SYSTEM\MFC42.DLL'
Loaded 'C:\WINDOWS\SYSTEM\COMCTL32.DLL', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\MSCOMM32.OCX', no matching symbolic information found.
Loaded 'C:\WINDOWS\SYSTEM\OLEPRO32.DLL', no matching symbolic information found.
The thread 0xFFFAFF75 has exited with code 1 (0x1).
The thread 0xFFFAFD41 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFAFB2D has exited with code 1 (0x1).
The thread 0xFFFAF9F9 has exited with code 1 (0x1).
The thread 0xFFFAC7C5 has exited with code 1 (0x1).
The thread 0xFFFAC591 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFAC27D has exited with code 1 (0x1).
The thread 0xFFFAC049 has exited with code 1 (0x1).
The thread 0xFFFACE15 has exited with code 1 (0x1).
The thread 0xFFFACCE1 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFACACD has exited with code 1 (0x1).
The thread 0xFFFAC899 has exited with code 1 (0x1).
The thread 0xFFFAD565 has exited with code 1 (0x1).
The thread 0xFFFAD331 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFAD11D has exited with code 1 (0x1).
The thread 0xFFFADFE9 has exited with code 1 (0x1).
The thread 0xFFFADDB5 has exited with code 1 (0x1).
The thread 0xFFFADB81 has exited with code 1 (0x1).
First-chance exception in MP830 Serial Port Test2.exe (MSVCRT.DLL): 0xE06D7363: Microsoft C++ Exception.
The thread 0xFFFAD86D has exited with code 1 (0x1).
The thread 0xFFF92639 has exited with code 1 (0x1).
The thread 0xFFF92405 has exited with code 1 (0x1).
The thread 0xFFF922D1 has exited with code 1 (0x1).
The thread 0xFFFAE6A1 has exited with code 0 (0x0).
The program 'C:\Program Files\Microsoft Visual Studio\MyProjects\MP830 Serial Port Test2\Release\MP830 Serial Port Test2.exe' has exited with code 0 (0x0).

What does it mean by "no matching symbolic information found"?

The thread 0xFFFAFF75 has exited with code 1 (0x1).  What does this mean?

What does it mean with First-chance exception in XXX??

Thanks in advance for your responses.
Cheers
Cameron
Avatar of Zoppo
Zoppo
Flag of Germany image

Hi CameronP,

'no matching symbolic information found': debug info for the given file could not be loaded because it's either not found or of a different version.

'thread xxxx has exited ...': a thread has terminated and returned the given value.

'first chance exception ...' means that somewhere deep in the Win32 API or MFC or elsewhere an exception of any kind occured and was handled by the responsible exception handlers correctly. See MSDN article ID: Q105675 for more info...

hope that helps,

ZOPPO
Avatar of CameronP
CameronP

ASKER

Why is it searching for debug info if I'm building a release version??

What does it mean if a thread has existed with the value?  Do I have worry about it?

Does this mean I can ignore the exception?

Thanks for your help.

Cheers
Cameron
ASKER CERTIFIED SOLUTION
Avatar of Binder
Binder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Binder changed the proposed answer to a comment
>> Why is it searching for debug info if I'm
>> building a release version??
If you run the code under the debugger, it is going to search for debug information.  i.e. if you run under the debugger, it is going to try to debug.  Whetheor or not it succeeds in finding debug information depends on whethor or not you compiled a debug or release version, but it is going to try in any case.  (And you can include debug information in a release version...)

>> Does this mean I can ignore the exception?
You can safely ignore a first-chance exception.
>What does it mean if a thread has existed with the value?  Do I have worry about it?
No, except you know that a thread should terminate with a different value if there's no error. A thread is nothing else but a function which runs independant from other threads in a process. When the thread's function return the thread terminates.

ZOPPO
Zoppo & Binder, who should I give the points to now.  Zoppo answered first and he's answer was correct even though he made it a comment.  Binder gave me the detail I wanted.

What do you say?  I happy.  I learned something today.  Thanks guys.

Cheers
Cameron
And don't forget nietod...


never mind, for my opinion you can give the points to Binder, he has the fewest points of us three and will be happy too             :)
Sorry Nietod.  Thanks all.

Its your Binder!!

Cheers
Cameron
Sorry Nietod.  Thanks all.

Its yours Binder!!  Binder can you just answer again so that I can award you the points, cause I get an error if I use the Accept comment as Answer buttons.

Cheers
Cameron
You've already accepted Binder's answer ...
>> Sorry Nietod.
quite allright.
Thanks all,

    This is my first week answering questions. It´s good
to keep on focus.