Debout32()
Posted: Mon Nov 19, 2018 7:12 pm
Guys,
no real problem ...
ok, debout32() can´t show anything in dbgview if the reference of the x# runtime is the GAC, so i´ve changed the app references to the debug versions of both dlls, but debout32() still doesn´t show anything in dbgview.
when i jump in ilSpy to Debout32() i see this code:
// XSharp.Core.Functions
#define DEBUG
using System.Diagnostics
public static method DebOut32(s as string ) as void
Debug.WriteLine(s)
is there anything that i´ve overlooked ?
regards
Karl-Heinz
no real problem ...
ok, debout32() can´t show anything in dbgview if the reference of the x# runtime is the GAC, so i´ve changed the app references to the debug versions of both dlls, but debout32() still doesn´t show anything in dbgview.
Code: Select all
FUNCTION Start( ) AS VOID
LOCAL uXSharpUsual AS USUAL
uXSharpUsual := "Hello X# runtime!"
// output is not visible in dbgview
debout32 ( "****** Debug msg from debout32 ******" )
// output is not visible in dbgview
XSharp.Core.Functions.DebOut32("***** Debug msg from XSharp.Core.Functions.DebOut32 *****")
// ok, output is visible in dbgview
system.Diagnostics.debug.WriteLine ("***** Debug msg from system.Diagnostics.debug.WriteLine *****" )
// ok, output is visible in dbgview
MyDebout32 ("***** Debug msg from MyDebout32 *****" )
System.Console.WriteLine(AsString(uXSharpUsual))
RETURN
FUNCTION MyDebout32 ( c AS STRING ) AS VOID
system.Diagnostics.debug.WriteLine ( c )
// XSharp.Core.Functions
#define DEBUG
using System.Diagnostics
public static method DebOut32(s as string ) as void
Debug.WriteLine(s)
is there anything that i´ve overlooked ?
regards
Karl-Heinz