I use VS2005 + SP1, Symbian SDK 3rd edition + FP1, carbide 3.0.1

Code:

TInt FunctionL()
{
User::Leave(err);
return 1;
}

void TrapFunction()
{
TRAPD(err, iRes = FunctionL());
}

When calls User::Leave the breakpoint on TRAP does not stop the application. The application crash.

Same code on VS2003 + 3rd edition MR + Carbide 2 works fine.

Please help......