Program stops immediately, when not in the dev environment

  • Thread starter Thread starter Cold Nuke
  • Start date Start date
C

Cold Nuke

Hello,

I have a weird problem which just appeared and that is really
something and a pain to debug.

The problem is this : when I run it, it does all the init, up until
the Application::Run(view) command, which I guess it executes. Then,
the programs stops, without leaving any crash note, as if I pushed the
close button myself. If I enter commands after the Application::Run
line, they are not executed.

now the weird part is that it does this only when I'm not in visual
studio(i.e. i compiled it as "release" and try to run it normally).
Also, I just tried to compile it under "bebug" configuration and it
seems to work.

any thoughts?

Pierre Darisse
PCS Telecom
 
Hi,

Try setting a programmatic breakpoint (can't remember it exactly, but it's
something like System.Diagnostics.BreakPoint) and attaching the debugger to
the process. That'll work much better if the problem still occurs ina debug
build run from Windows rather than VS.

HTH,

Steve
 
Back
Top