[Gambas-user] gb.debug: Unable to open fifo
T Lee Davidson
t.lee.davidson at ...626...
Tue May 23 23:56:41 CEST 2017
Hello folks,
I am trying to see if gb.debug will help me diagnose why HttpClient does not properly expose redirect response codes on my
system (and reportedly Tobi's system) while it does so correctly on Benoît's system.
However, the documentation for gb.debug is so sparse that I am having to experiment and, of course, having a problem.
With the following command-line application code (using the gb.debug component):
' Gambas module file
Public Sub Main()
Dim sName As String
sName = Debug.Begin()
Print sName
Debug.Start ' Unable to open fifo
Debug.Write("Hello world")
Debug.Stop
Debug.End
End
Public Sub Debug_Read(Data As String)
Print Data
End
' End Gambas module file
Debug.Start causes an exception: "Unable to open fifo". By looking in /tmp/gambas.1000/, I can see that the process id input and
output pipes are successfully created with the correct file mode permissions (600) for my user as owner. But, the Start
procedure apparently cannot open the output fifo (ref.
https://sourceforge.net/p/gambas/code/HEAD/tree/gambas/trunk/main/lib/debug/CDebug.c).
Am I attempting to use this component incorrectly?
---
Lee
More information about the User
mailing list