debug_printf
extern int debug_printf(const char *format, ...)
debug_printf("%s:%d - setting errno to %x\n", __FILE__, __LINE__, \
# define TRACE(x, ...) debug_printf(x, __VA_ARGS__)
debug_printf("allocate_overlay()\n");
debug_printf("allocate_overlay(token %ld)\n", (uint32)overlayToken);
debug_printf("configure_overlay: buffer %p, window %p, view %p\n",
debug_printf("allocate_overlay_buffer(width %u, height %u, colorSpace %u)\n",
debug_printf("release_overlay_buffer(buffer %p)\n", buffer);
debug_printf("get_overlay_constraints(buffer %p)\n", buffer);
FunctionTracer _ft(debug_printf, this, __PRETTY_FUNCTION__, sFunctionDepth)
debug_printf("%p -> %s", this, _to.String()); \
debug_printf(x); } while (0)
# define LOG_EVENT(text...) debug_printf(text)
# define LOG_ERR(text...) debug_printf(text)
# define CALLED(x...) FunctionTracer _ft(debug_printf, this, \
debug_printf("%p -> %s", this, _to.String()); \
debug_printf(x); } while (0)
# define LOG_ERROR(x...) debug_printf(x)
# define CALLED(x...) FunctionTracer _ft(debug_printf, this, __PRETTY_FUNCTION__, sFunctionDepth)
debug_printf("%p -> %s%s", this, _to.String(), _extra); \
# define LOG_ERROR(x...) do { debug_printf(x); } while(0)
# define CALLED(x...) FunctionTracer _ft(debug_printf, this, \
debug_printf("%p -> %s", this, _to.String()); \
debug_printf(x); } while (0)
# define LOG_ERR(x...) debug_printf(x)
# define TRACE(x...) debug_printf("virtio_input_device: " x)
#define ERROR(x...) debug_printf("virtio_input_device: " x)
debug_printf("%s", buffer);
debug_printf("msg thread: %ld; this: %p; header: %p; fields: %p;" \
debug_printf("msg thread: %ld; line: %d: func: %s\n", find_thread(NULL), \
debug_printf("Looper's ID specifier used but not "
# define GTRACE(x) debug_printf x
# define GTRACE(x) debug_printf x
debug_printf("msg thread: %ld; this: %p; header: %p; fields: %p;" \
debug_printf("msg thread: %ld; line: %d: func: %s\n", find_thread(NULL), \
# define TRACE(...) debug_printf("BPathMonitor: " __VA_ARGS__)
# define STRACE(x) debug_printf x
# define STRACE(x) debug_printf x
debug_printf("Application %" B_PRId32 ", %s: chunks:\n",
debug_printf(" [%4" B_PRId32 "] %p, area %" B_PRId32 ", base %p, "
debug_printf("free blocks:\n");
debug_printf(" [%6" B_PRId32 "] %p, chunk %p, base %p, size %lu\n",
debug_printf("app_server: Failed to initialize virtual screen configuration: %s\n",
debug_printf("Could not initialize graphics output. Exiting.\n");
# define TRACE_BB(text, ...) debug_printf("PBBP: " text, ##__VA_ARGS__)
debug_printf("app_server: Finding best mode for %ux%u (%" B_PRIu32
debug_printf("app_server: Use %ux%u (%" B_PRIu32 ") instead.\n",
debug_printf("Application %" B_PRId32 ", %s: %d bitmaps:\n",
debug_printf(" [%" B_PRId32 "] %" B_PRId32 "x%" B_PRId32 ", "
# define STRACE(x) debug_printf x
# define FTRACE(x) debug_printf x
debug_printf("ServerWindow %s: Message "
# define DTRACE(x) debug_printf x
debug_printf("ServerWindow %s: Message "
debug_printf("ServerWindow %s: Message AS_VIEW_CREATE: "
debug_printf("ServerWindow %s received unexpected code - "
# define GTRACE(x) debug_printf x
debug_printf("ServerWindow::DispatchViewDrawingMessage() got "
debug_printf("ServerWindow %s: no drawing engine!!\n", Title());
debug_printf("ServerWindow %s received unexpected code: %s\n",
debug_printf("View token not found!\n");
# define STRACE(x) debug_printf x
debug_printf("app_server: Failed to set mode: %s\n",
debug_printf("AlphaMaskCache statistics: size=%" B_PRIuSIZE " bytes=%"
# define GTRACE(x...) debug_printf(x)
#define TRACE_ERROR(x...) debug_printf("NetReceiver: " x)
#define TRACE_ERROR(x...) debug_printf("NetSender: " x)
#define TRACE_ALWAYS(x...) debug_printf("RemoteDrawingEngine: " x)
#define TRACE_ERROR(x...) debug_printf("RemoteDrawingEngine: " x)
#define TRACE_ALWAYS(x...) debug_printf("RemoteHWInterface: " x)
#define TRACE_ERROR(x...) debug_printf("RemoteHWInterface: " x)
#define TRACE_ALWAYS(x...) debug_printf("RemoteMessage: " x)
#define TRACE_ALWAYS(x...) debug_printf("StreamingRingBuffer: " x)
# define FTRACE(x) debug_printf x
# define FTRACE(x) debug_printf x
# define STRACE(x) debug_printf x
debug_printf("can't solve constraints!\n");
debug_printf("free corner\n");
debug_printf("attached windows:\n");
debug_printf("- %s\n", list.ItemAt(i)->GetWindow()->Title());
debug_printf("not dockable\n");
debug_printf("left-top corner: ");
debug_printf("right-top corner: ");
debug_printf("left-bottom corner: ");
debug_printf("right-bottom corner: ");
# define STRACE_SAT(x...) debug_printf("SAT: "x)
# define STRACE_STACKING(x...) debug_printf("SAT Stacking: "x)
# define STRACE_TILING(x...) debug_printf("SAT Tiling: "x)
debug_printf("TeamDebugHandler::_HandlerThread(): Failed to pop "
debug_printf("TeamDebugHandler::_HandlerThread(): Failed to "
debug_printf("debug_server: The debugger for team %"
debug_printf("debug_server: Failed to read from listener port: "
debug_printf("debug_server: Failed to open console: %s\n",
debug_printf("debug_server: Failed to create team debug handler "
debug_printf("debug_server: Failed to create BApplication: %s\n",
debug_printf("debug_server: Failed to init application: %s\n",
debug_printf("debug_server: KillTeam(): Error getting info for "
debug_printf("debug_server: Killing team %" B_PRId32 " (%s)\n", team,
debug_printf("debug_server: TeamDebugHandler::Init(): Failed to get "
debug_printf("debug_server: TeamDebugHandler::Init(): Failed to get "
# define TRACE(x) debug_printf x
debug_printf("debug_server: TeamDebugHandler::Init(): Failed to init "
debug_printf("debug_server: TeamDebugHandler::Init(): Failed to create "
debug_printf("debug_server: TeamDebugHandler::Init(): Failed to spawn "
debug_printf("debug_server: can't find system-bin directory: %s\n",
debug_printf("debug_server: can't append to system-bin path: %s\n",
debug_printf("debug_server: can't find system-apps directory: %s\n",
debug_printf("debug_server: can't append to system-apps path: %s\n",
debug_printf("debug_server: can't find system-bin directory: %s\n",
debug_printf("debug_server: can't append to system-bin path: %s\n",
debug_printf("debug_server: Failed to prepare debugger handover: %s\n",
debug_printf("debug_server: Failed to set up gdb arguments: %s\n",
debug_printf("debug_server: can't find system-bin directory: %s\n",
debug_printf("debug_server: can't append to system-bin path: %s\n",
debug_printf("debug_server: can't find system-apps directory: %s\n",
debug_printf("debug_server: can't append to system-apps path: %s\n",
debug_printf("debug_server: Failed to start debugger: %s\n",
debug_printf("debug_server: Couldn't get desktop directory: %s\n",
debug_printf("debug_server: Couldn't get core file path for team %"
debug_printf("debug_server: Couldn't get usable core file path for "
debug_printf("debug_server: Failed to write core file for team %"
debug_printf("debug_server: Got a spurious "
debug_printf("debug_server: Thread %" B_PRId32 " entered the debugger: %s\n",
debug_printf("debug_server: Failed to create symbol lookup "
debug_printf("stack trace, current PC %p %s:\n", ip, symbolBuffer);
debug_printf(" (%p) %p %s\n", stackFrameInfo.frame,
# define TRACE(x...) debug_printf(x)
# define ERROR(x...) debug_printf(x)
# define ERROR(x...) debug_printf(x)
debug_printf("InputServer::RegisterDevices() device_ref already exists: %s\n", device->name);
debug_printf("could not fork: %s\n", strerror(errno));
debug_printf("Ignore launching %s\n", Name());
debug_printf("Target has no name, ignoring it!\n");
debug_printf("Test: %s -> %d\n", condition->ToString().String(),
debug_printf("Could not parse condition!\n");
debug_printf("Init \"%s\" failed: %s\n", job->Name(),
debug_printf("Adding job %s to queue failed: %s\n", job->Name(), strerror(status));
debug_printf("Could not switch to home dir %s: %s\n",
# define TRACE(x, ...) debug_printf(x, __VA_ARGS__)
debug_printf("Initialized job \"%s\"\n", job->Name());
debug_printf("Ignored job \"%s\": %s\n", job->Name(),
debug_printf("Skipped job \"%s\"\n", job->Name());
debug_printf("Launched job \"%s\": %s\n", job->Name(),
debug_printf("Terminated job \"%s\": %s\n", job->Name(),
debug_printf("Enabled job \"%s\": %d\n", job->Name(), enabled);
debug_printf("Stopped job \"%s\"\n", job->Name());
debug_printf("Event triggered for \"%s\": %s\n", job->Name(),
debug_printf("External event triggered: %s\n", name);
debug_printf("External event registered: %s\n", name);
debug_printf("External event unregistered: %s\n", name);
debug_printf("Launching %s failed: %s\n", job->Title().String(),
# define __out debug_printf
debug_printf("REG: invalid message: %" B_PRIu32 "\n",
debug_printf("REG: Failed to open passwd DB file \"%s\": %s\n",
debug_printf("REG: Unparsable line in passwd DB file: \"%s\"\n",
debug_printf("REG: Out of memory\n");
debug_printf("REG: Failed to open group DB file \"%s\": %s\n",
debug_printf("REG: Unparsable line in group DB file: \"%s\"\n",
debug_printf("REG: Out of memory\n");
debug_printf("REG: Failed to open shadow passwd DB file \"%s\": %s\n",
debug_printf("REG: Unparsable line in shadow passwd DB file: "
debug_printf("REG: shadow pwd entry for unknown user \"%s\"\n",
debug_printf("REG: Out of memory\n");
debug_printf("REG: Failed to open passwd file \"%s\" for "
debug_printf("REG: Failed to open shadow passwd file \"%s\" for "
debug_printf("REG: Failed to open group file \"%s\" for "
# define TRACE(x) debug_printf x
debug_printf("%" B_PRId32 ": ASSERT: %s:%d %s\n", find_thread(NULL), file,
debug_printf("%" B_PRId32 ": DEBUGGER: %s\n", find_thread(NULL), message);
debug_printf("%s", buffer);
# define INFO(x) debug_printf x
debug_printf("%s", buffer);
# define CTRACE(x) debug_printf x
debug_printf("hoard: init_after_fork(): thread %" B_PRId32 ", Heap "
debug_printf("malloc() of %lu bytes asked\n", size);
debug_printf("allocation %p, size %ld front wall clobbered at byte %ld.\n",
debug_printf("allocation %p, size %ld back wall clobbered at byte %ld.\n",
debug_printf("memalign() is not yet supported by the wall code.\n");
debug_printf("posix_memalign() is not yet supported by the wall code.\n");
# define TRACE(x) debug_printf x
# define TRACE(x) debug_printf x
# define TRACE(x) debug_printf x
# define TRACE(x) debug_printf x
#define TRACE(x) debug_printf x
debug_printf("CheckSumFSAddOn::GetInitializationParameterEditor()\n");
debug_printf("CheckSumFSAddOn::ValidateInitialize()\n");
debug_printf("CheckSumFSAddOn::Initialize()\n");
debug_printf("checksumfs: get_disk_system_add_ons()\n");
debug_printf("checksumfs: get_disk_system_add_ons() done ok\n");
debug_printf("CheckSumFSAddOn::CreatePartitionHandle()\n");
debug_printf("CheckSumFSAddOn::CanInitialize()\n");