KVIrc  4.9.2
DeveloperAPIs
Macros
kvi_debug.h File Reference

This file contains the definition of the debug macros;. More...

#include <QtGlobal>
#include "kvi_sysconfig.h"
#include <stdlib.h>

Go to the source code of this file.

Macros

#define KVI_ASSERT(__condition__)
 GNUC More...
 
#define KVI_ASSERT_MSG(__condition__, __message__)
 
#define kvi_debug(fmt,...)   qDebug(fmt, __VA_ARGS__)
 GNUC More...
 
#define kvi_fatal(fmt,...)
 
#define KVI_PRETTY_FUNCTION   __FUNCTION__
 
#define KVI_TRACE(_szFmt,...)
 
#define KVI_TRACE_BLOCK(_szBlockDescription)
 
#define KVI_TRACE_FUNCTION
 
#define kvi_warning(fmt,...)   qWarning(fmt, __VA_ARGS__)
 

Detailed Description

This file contains the definition of the debug macros;.

Author
Szymon Stefanek

Macro Definition Documentation

#define KVI_ASSERT (   __condition__)
Value:
do \
{ \
} while(0)

GNUC

COMPILE_DEBUG_MODE

Referenced by KviRegisteredChannelDataBase::add(), EventEditor::addHandlerForCurrentEvent(), RawEditorWidget::addHandlerForCurrentRaw(), KviRegisteredUserDataBase::addMask(), KviCString::append(), KviIrcView::appendLine(), KviIrcView::appendText(), KviCString::bufferToHex(), KviKvsObject::callDestructor(), KviCString::contains(), EventEditor::currentItemChanged(), RawEditorWidget::currentItemChanged(), RawEditorWidget::customContextMenuRequested(), PopupEditorWidget::customContextMenuRequested(), KviCString::cut(), KviCString::cutLeft(), KviCString::cutRight(), dcc_kvs_parse_default_parameters(), KviKvsObject::delayedDie(), KviIrcConnection::delayedStartNotifyList(), KviKvsObjectController::deleteClass(), KviKvsObject::dieNow(), KviIrcSocket::doSSLHandshake(), KviCast::dynamic(), KviIrcView::event(), KviCString::extractFromString(), KviIrcContext::findDeadChannel(), KviIrcContext::findDeadQuery(), KviCString::findFirstIdx(), KviCString::findLastIdx(), KviMediaManager::findMediaType(), KviMediaManager::findMediaTypeByFileMask(), KviMediaManager::findMediaTypeByIanaType(), KviIrcSocket::flushSendQueue(), KviCString::getLine(), KviCString::getToken(), EventEditor::getUniqueHandlerName(), RawEditorWidget::getUniqueHandlerName(), PopupEditorWidget::getUniquePopupName(), DccChatThread::handleIncomingData(), DccVideoThread::handleIncomingData(), DccThread::handleInvalidSocketRead(), KviIrcSocket::handleInvalidSocketRead(), KviCString::insert(), KviClassicWindowList::insertButton(), LinksWindow::insertLink(), KviMediaManager::insertMediaType(), KviConsoleWindow::isIPv6Connection(), EventEditor::itemPressed(), kvi_appendWCharToQStringWithLength(), kvi_extractToken(), kvi_extractUpTo(), kvi_irc_vsnprintf(), kvi_strcmpCI(), kvi_strcmpCS(), kvi_strEqualCI(), kvi_strEqualCIN(), kvi_strEqualCS(), kvi_strEqualCSN(), kvi_strMatchRevCS(), kvi_vsnprintf(), KviCString::KviCString(), KviDataBuffer::KviDataBuffer(), KviDnsResolverThreadEvent::KviDnsResolverThreadEvent(), KviMediaManager::load(), KviIrcConnection::loginToIrcServer(), KviCString::middle(), KviUserListView::nickChange(), KviCString::occurrences(), KviCString::operator=(), KviCString::padRight(), KviIrcConnection::pickNextLoginNickName(), KviCString::prepend(), KviIrcLink::processData(), KviIrcSocket::queue_insertMessage(), KviIrcSocket::queue_removeMessage(), regchan_kvs_cmd_showlist(), regchan_kvs_fnc_list(), KviDataBuffer::remove(), EventEditor::removeCurrentHandler(), RawEditorWidget::removeCurrentHandler(), KviOptionsWidget::removeSelector(), KviDataBuffer::resize(), KviInputEditor::returnPressed(), DccChatThread::run(), KviRegisteredChannelDataBase::save(), KviMediaManager::save(), EventEditor::saveLastEditedItem(), RawEditorWidget::saveLastEditedItem(), KviStupidNotifyListManager::sendIsOn(), KviInputEditor::sendKvs(), KviInputEditor::sendPlain(), KviCString::setLen(), OptionsWidget_servers::slotShowThisDialogAtStartupSelectorDestroyed(), KviHttpRequest::slotSocketError(), KviHttpRequest::slotSocketReadDataReady(), KviIrcConnectionTargetResolver::start(), KviCString::stripLeft(), KviIrcConnectionTargetResolver::terminate(), KviIrcContext::terminateConnectionRequest(), EventEditor::toggleCurrentHandlerEnabled(), RawEditorWidget::toggleCurrentHandlerEnabled(), url_compare_helper(), DccThread::~DccThread(), KviDataBuffer::~KviDataBuffer(), KviDebugContext::~KviDebugContext(), and KviHttpRequest::~KviHttpRequest().

#define KVI_ASSERT_MSG (   __condition__,
  __message__ 
)
Value:
do \
{ \
} while(0)

Referenced by KviDnsResolver::slotHostLookupTerminated(), and KviKvsObject::~KviKvsObject().

#define kvi_debug (   fmt,
  ... 
)    qDebug(fmt, __VA_ARGS__)

GNUC

#define kvi_fatal (   fmt,
  ... 
)
Value:
do \
{ \
qFatal(fmt, __VA_ARGS__); \
abort(); \
} while(0)
#define KVI_PRETTY_FUNCTION   __FUNCTION__
#define KVI_TRACE (   _szFmt,
  ... 
)
Value:
do \
{ \
} while(0)
#define KVI_TRACE_BLOCK (   _szBlockDescription)
Value:
do \
{ \
} while(0)
#define KVI_TRACE_FUNCTION
Value:
do \
{ \
} while(0)

Referenced by KviRegisteredChannelDataBase::remove().

#define kvi_warning (   fmt,
  ... 
)    qWarning(fmt, __VA_ARGS__)