Hi,
In Debug mode everything runs fine but after Release compile there is access violation almost right after search starts. Any suggestions how to tackle this problem. After breaking in Release code just assembly is shown and I can't figure out the place that caused the error.
Any help appreciated.
- Jarkko
Access violation in Release version only
Moderators: hgm, Rebel, chrisw
-
- Posts: 198
- Joined: Thu Mar 09, 2006 2:44 am
- Location: Helsinki, Finland
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Access violation in Release version only
Don't strip symbol table in release mode, this could be a good start.jarkkop wrote:Hi,
In Debug mode everything runs fine but after Release compile there is access violation almost right after search starts. Any suggestions how to tackle this problem. After breaking in Release code just assembly is shown and I can't figure out the place that caused the error.
Any help appreciated.
- Jarkko
-
- Posts: 198
- Joined: Thu Mar 09, 2006 2:44 am
- Location: Helsinki, Finland
Re: Access violation in Release version only
Is that the default behaviour in MS VC 2008 express version when compiling release version?
Does anyone know the switch that has to be turned to keep the symbol tables?
Does anyone know the switch that has to be turned to keep the symbol tables?
-
- Posts: 2684
- Joined: Sat Jun 14, 2008 9:17 pm
Re: Access violation in Release version only
Please go to project->properites->(property page opens and I strongly suggest you to spend 5 minutes browsing it around)->linker->debug->build debug info should be set to true.jarkkop wrote:Is that the default behaviour in MS VC 2008 express version when compiling release version?
Does anyone know the switch that has to be turned to keep the symbol tables?