debugsrv/runmodedebug/rmdriver/inc/d_rmd_breakpoints_debug.inl
branchRCL_3
changeset 20 ca8a1b6995f6
equal deleted inserted replaced
19:07b41fa8d1dd 20:ca8a1b6995f6
       
     1 // Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of the License "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #include "debug_logging.h"
       
    17 
       
    18 // Print breakpoints disabled for stepping
       
    19 inline void D_RMD_Breakpoints::print_BreakpointsDisabledForStep()
       
    20 	{
       
    21 	for (TInt i = 0; i < iBreakPointList.Count(); i++)
       
    22 		{
       
    23 		if(iBreakPointList[i].iDisabledForStep)
       
    24 			{
       
    25 				LOG_MSG2("Breakpoint disabled for stepping: iBreakPointList[%d]", i);
       
    26 				LOG_MSG4("iBreakId = %x, iId = %d, iAddress = %x", iBreakPointList[i].iBreakId, iBreakPointList[i].iId, iBreakPointList[i].iAddress );
       
    27 			}
       
    28 		}
       
    29 	}
       
    30 
       
    31 // Print breakpoint list
       
    32 inline void D_RMD_Breakpoints::print_BreakpointsList()
       
    33 	{
       
    34 	for (TInt i = NUMBER_OF_TEMP_BREAKPOINTS; i < iBreakPointList.Count(); i++)
       
    35 		{
       
    36 			LOG_MSG2("Breakpoint list: iBreakPointList[%d]", i);
       
    37 			LOG_MSG4("iBreakId = %x, iId = %d, iAddress = %x", iBreakPointList[i].iBreakId, iBreakPointList[i].iId, iBreakPointList[i].iAddress );
       
    38 		}
       
    39 	}