when i run my application in debug mode, the application terminates in an unusual way and the controls goes to the following function (buffer.h file):
// placeholder for NULL string, to simplify this code
static Data *GetNullData()
{
return static_cast<Data *>(wxPrivate::GetUntypedNullData());
}
sometimes while application is running, it crashes and the control goes to the following line (in appbase.cpp):
#ifdef __WXDEBUG__
static void LINKAGEMODE SetTraceMasks()
{
#if wxUSE_LOG
wxString mask;
if ( wxGetEnv(wxT("WXTRACE"), &mask) )
{
wxStringTokenizer tkn(mask, wxT(",;:"));
while ( tkn.HasMoreTokens() )
wxLog::AddTraceMask(tkn.GetNextToken());
}
#endif // wxUSE_LOG
}
I didn't understand why this happens. Kindly help me with this.
Debugging Mode Error
-
- In need of some credit
- Posts: 2
- Joined: Tue Jun 21, 2011 6:36 am
Re: Debugging Mode Error
Hi,
please use a debugger and find the entire backtrace. Especially of interest is where in your own code the crash happens
please use a debugger and find the entire backtrace. Especially of interest is where in your own code the crash happens
"Keyboard not detected. Press F1 to continue"
-- Windows
-- Windows