/* * Copyright 1995, 1996 Perforce Software. All rights reserved. * * This file is part of Perforce - the FAST SCM System. */ /* * -vrpc=1 show connection * -vrpc=2 show calls to invoke and dispatches * -vrpc=3 show variable settings in send/receive buffers * -vrpc=5 show flow control details */ extern void DumpError( Error &e, const char *func ); // RPC debugging levels # define DEBUG_CONNECT ( p4debug.GetLevel( DT_RPC ) >= 1 ) # define DEBUG_FUNCTION ( p4debug.GetLevel( DT_RPC ) >= 2 ) # define DEBUG_VARS ( p4debug.GetLevel( DT_RPC ) >= 3 ) # define DEBUG_FLOW ( p4debug.GetLevel( DT_RPC ) >= 5 ) // Server debugging levels # define DEBUG_SVR_ERROR ( p4debug.GetLevel( DT_SERVER ) >= 1 ) # define DEBUG_SVR_WARN ( p4debug.GetLevel( DT_SERVER ) >= 2 ) # define DEBUG_SVR_INFO ( p4debug.GetLevel( DT_SERVER ) >= 4 ) # define RPC_DBG_PRINT( level, msg ) \ do \ { \ if( level ) \ { \ p4debug.printf( "%s" msg "\n", RpcTypeNames[GetRpcType()] ); \ } \ } while(0); # define RPC_DBG_PRINTF( level, msg, ... ) \ do \ { \ if( level ) \ { \ p4debug.printf( "%s" msg "\n", RpcTypeNames[GetRpcType()], __VA_ARGS__ ); \ } \ } while(0);
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 18760 | rlranft |
Populate -o //guest/perforce_software/p4/... //guest/rlranft/p4/.... |
||
//guest/perforce_software/p4/2015-1/rpc/rpcdebug.h | |||||
#1 | 15903 | Matt Attaway | Everything should be happy now between the Workshop and the depot paths | ||
//guest/perforce_software/p4/2015_1/rpc/rpcdebug.h | |||||
#1 | 15901 | Matt Attaway | Clean up code to fit modern Workshop naming standards | ||
//guest/perforce_software/p4/2015.1/rpc/rpcdebug.h | |||||
#1 | 12190 | Matt Attaway | Initial drop of 2015.1 p4/p4api source |