debug mode run dead at DebugBreak() in void wxTrap() of appcmn.cpp

Armel Asselin armelasselin at hotmail.com
Wed Sep 20 04:19:23 PDT 2006


  ""Xu, Ming (NIH/NLM/NCBI) [F]"" <mxu at ncbi.nlm.nih.gov> a =E9crit dans le =
message de news: CD04BF03C87B6240A342461CDE1DEC03024F3251 at NIHCESMLBX8.nih.g=
ov...
  Hello.

   =


  I test a win32 app at debug mode. It died at

  Hello.

   =


  I test run a win32 app at debug mode. It died

  at DebugBreak() in void wxTrap() of appcmn.cpp.

  any clue/suggestion about what's going on ?

   =


  thanks

   =


  ming

   =


  //---------------------------------------------

  @file appcmn.cpp

  // break into the debugger

  void wxTrap()

  {

  #if defined(__WXMSW__) && !defined(__WXMICROWIN__)

      DebugBreak();  <=3D debug mode dead here

  #elif defined(__WXMAC__) && !defined(__DARWIN__)

  #if __powerc

      Debugger();

  #else

      SysBreak();

  #endif

  #elif defined(__UNIX__

  .

  }

  ---------------------------------------------------------------------

it means that you need to check the stack trace, somewhere there must be wx=
Assert( ) call, and the calling function is where the problem happen.

it means _your_ program is bugged (in general), because wxWidgets realized =
you call/set up something the wrong way.



Armel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.wxwidgets.org/pipermail/wx-users/attachments/20060920/f0e=
22443/attachment.htm


More information about the wx-users mailing list