Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
frameserver_debugstall(3)	 Arcan Lua API	     frameserver_debugstall(3)

NAME
       frameserver_debugstall  -  change the global delay before a frameserver
       executes

SYNOPSIS
       nil
       frameserver_debugstall( time )

DESCRIPTION
       This function is	only exposed in	debug builds of	the  engine  where  it
       can  be	assumed	other relevant instrumentation is in place. It changes
       the inherited environment variable  ARCAN_FRAMESERVER_DEBUGSTALL	 =time
       (where  time  is	 >=  0,	0 clears) that controls	how long newly spawned
       frameservers should delay before	continuing execution. This is to allow
       the developer to	attach to the process at a safe	spot in	order  to  set
       breakpoints or control stepping.

EXAMPLE
       function	frameserver_debugstall0()
	     if	(frameserver_debugstall) then
		   frameserver_debugstall(10);
		   launch_avfeed();
	     end
       end

SEE ALSO:
system				  April	2025	     frameserver_debugstall(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=frameserver_debugstall&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help