4GL Debugging Blank Title 79280

You can use UNC paths. Couldn't remember if I ever had, so I just ran a test to try & voila. Only thing is you have to put quotations around any paths with spaces in the folder or file names, but I'm used to doing that in UNIX anyway so it doesn't bother me. I had copied tail.exe to a directory in the path on my local pc so I don't have to find it every time I want to use it.

--- In vantage@yahoogroups.com, "Brian W. Spolarich " <bspolarich@...> wrote:
>
> I'm guessing tail.exe requires you to map a drive letter to work from a command prompt.
>
> BareTail is a real Windows app and deals with UNC paths, etc.
>
> --
> Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
> Â Â Â Â bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of kirstin.brandt
> Sent: Wednesday, June 17, 2009 10:22 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: 4GL Debugging
>
> If you've installed the windows resource kit, you'll find tail.exe in the "Program Files\Windows Resource Kits\tools" directory. It also has the -f option.
>
> --- In vantage@yahoogroups.com, "Brian W. Spolarich " <bspolarich@> wrote:
> >
> > If you like to be able to "tail" logfiles, check out BareTail for Windows:
> >
> > http://www.baremetalsoft.com/baretail/
> >
> > They also have a 'grep'-like program. The pro version of baretail includes filtering.
> >
> > -bws
> >
> > --
> > Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
> > Â Â Â Â bspolarich@ ~ 734-864-5618 ~ www.advancedphotonix.com
> >
> >
> > -----Original Message-----
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Thomas Rose
> > Sent: Tuesday, June 16, 2009 5:56 PM
> > To: vantage@yahoogroups.com
> > Subject: RE: [Vantage] 4GL Debugging
> >
> > Thank you to all who responded. Mike, this solution worked best for me. I now have my code working the way it should. Thanks!
> >
> > Thom Rose
> > Controller
> > Electric Mirror LLC
> > HOTEL LUXURY
> >
> > "The World Leader in Back-lit Mirrors & Mirror TV Technology"
> >
> > T 425 776-4946
> > A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
> > www.electricmirror.com<http://www.electricmirror.com>
> >
> > From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Mike Anstey
> > Sent: Tuesday, June 16, 2009 6:41 AM
> > To: vantage@yahoogroups.com
> > Subject: RE: [Vantage] 4GL Debugging
> >
> >
> >
> >
> >
> > I add message statements to my 4GL code.
> >
> > When you add a message statement it is written to the server.log file
> > for the database you are in. e.g. for live it would be
> > mfgsys803.server.log.
> >
> > As I am on unix this has been a great feature because I am able to view
> > the log live (with the tail -f command) without having to open and close
> > the file each time I want to see something.
> >
> > To use the message statement just do the following:
> >
> > Message "hello there ".
> >
> > To use it with a variable just add the variable name.
> >
> > Message "ttOrderDtl.Orderline " ttOrderDtl.Orderline.
> >
> > You can stick as many of these as you like in your code.
> >
> > Don't forget to end you statement with a period.
> >
> > ________________________________
> >
> > From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf
> > Of Thomas Rose
> > Sent: Tuesday, June 16, 2009 10:30 AM
> > To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> > Subject: [Vantage] 4GL Debugging
> >
> > I have some code that is valid, and it seems to run without errors, but
> > it is not doing what I expect it to. Are there some things I can throw
> > into the code to show me the status of things (what value a variable
> > has, where in the code execution is happening, et. al.)? Is there any
> > detailed logging I can do, and, if so, how? I know I get great advice in
> > this forum, but using all y'all as my 4GL debugger would probably get
> > old after awhile, and, I really need to be able to figure some things
> > out on my own.
> >
> > Thom Rose
> > Controller
> > Electric Mirror LLC
> > HOTEL LUXURY
> >
> > "The World Leader in Back-lit Mirrors & Mirror TV Technology"
> >
> > T 425 776-4946
> > A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
> > www.electricmirror.com<http://www.electricmirror.com
> > <http://www.electricmirror.com> >
> >
> > [Non-text portions of this message have been removed]
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
>
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
I have some code that is valid, and it seems to run without errors, but it is not doing what I expect it to. Are there some things I can throw into the code to show me the status of things (what value a variable has, where in the code execution is happening, et. al.)? Is there any detailed logging I can do, and, if so, how? I know I get great advice in this forum, but using all y'all as my 4GL debugger would probably get old after awhile, and, I really need to be able to figure some things out on my own.

Thom Rose
Controller
Electric Mirror LLC
HOTEL LUXURY

"The World Leader in Back-lit Mirrors & Mirror TV Technology"

T 425 776-4946
A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
www.electricmirror.com<http://www.electricmirror.com>



[Non-text portions of this message have been removed]
If it is BPM code, I think you can set up logging.......

--- In vantage@yahoogroups.com, Thomas Rose <t.rose@...> wrote:
>
> I have some code that is valid, and it seems to run without errors, but it is not doing what I expect it to. Are there some things I can throw into the code to show me the status of things (what value a variable has, where in the code execution is happening, et. al.)? Is there any detailed logging I can do, and, if so, how? I know I get great advice in this forum, but using all y'all as my 4GL debugger would probably get old after awhile, and, I really need to be able to figure some things out on my own.
>
> Thom Rose
> Controller
> Electric Mirror LLC
> HOTEL LUXURY
>
> "The World Leader in Back-lit Mirrors & Mirror TV Technology"
>
> T 425 776-4946
> A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
> www.electricmirror.com<http://www.electricmirror.com>
>
>
>
> [Non-text portions of this message have been removed]
>
I add message statements to my 4GL code.

When you add a message statement it is written to the server.log file
for the database you are in. e.g. for live it would be
mfgsys803.server.log.



As I am on unix this has been a great feature because I am able to view
the log live (with the tail -f command) without having to open and close
the file each time I want to see something.



To use the message statement just do the following:



Message "hello there ".



To use it with a variable just add the variable name.

Message "ttOrderDtl.Orderline " ttOrderDtl.Orderline.



You can stick as many of these as you like in your code.



Don't forget to end you statement with a period.



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Thomas Rose
Sent: Tuesday, June 16, 2009 10:30 AM
To: vantage@yahoogroups.com
Subject: [Vantage] 4GL Debugging








I have some code that is valid, and it seems to run without errors, but
it is not doing what I expect it to. Are there some things I can throw
into the code to show me the status of things (what value a variable
has, where in the code execution is happening, et. al.)? Is there any
detailed logging I can do, and, if so, how? I know I get great advice in
this forum, but using all y'all as my 4GL debugger would probably get
old after awhile, and, I really need to be able to figure some things
out on my own.

Thom Rose
Controller
Electric Mirror LLC
HOTEL LUXURY

"The World Leader in Back-lit Mirrors & Mirror TV Technology"

T 425 776-4946
A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
www.electricmirror.com<http://www.electricmirror.com
<http://www.electricmirror.com> >

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
If it is BPM code and you want to see it on the screen I believe this
would work as well:



DEFINE VAR cinfo-msg AS CHAR NO-UNDO.



Cinfo-msg = "order line " + STRING(ttorderDtl.OrderLine).

{&TRY_PRIVATE}



{lib/PublishInfoMsg.i

&InfoMsg = cinfo-msg}





IF GetExceptions() <> "" THEN {&THROW_PRIVATE}.

{&CATCH_PRIVATE}



While my previous MESSAGE method will take and print any type of
variable, because cinfo-msg is cast as a string, you have to make it a
valid string by concatenating and converting none string values to
stings, (if the value is already a string no conversion necessary, but
you still must use the "+" to concatenate.



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Thomas Rose
Sent: Tuesday, June 16, 2009 10:30 AM
To: vantage@yahoogroups.com
Subject: [Vantage] 4GL Debugging








I have some code that is valid, and it seems to run without errors, but
it is not doing what I expect it to. Are there some things I can throw
into the code to show me the status of things (what value a variable
has, where in the code execution is happening, et. al.)? Is there any
detailed logging I can do, and, if so, how? I know I get great advice in
this forum, but using all y'all as my 4GL debugger would probably get
old after awhile, and, I really need to be able to figure some things
out on my own.

Thom Rose
Controller
Electric Mirror LLC
HOTEL LUXURY

"The World Leader in Back-lit Mirrors & Mirror TV Technology"

T 425 776-4946
A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
www.electricmirror.com<http://www.electricmirror.com
<http://www.electricmirror.com> >

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
 If possible, I use the 'message view-as alert-box' function in the 4GL to display variable values, etc. - while in a 'testing' modenly, it would be annoying for users if you are de-bugging something while it is 'live' and they get Message Alerts.
Â
 Maybe you could also 'write' to data in question out to a flat text file, then you can see a bunch of results at once.

--- On Tue, 6/16/09, bw2868bond <bwalker@...> wrote:


From: bw2868bond <bwalker@...>
Subject: [Vantage] Re: 4GL Debugging
To: vantage@yahoogroups.com
Date: Tuesday, June 16, 2009, 9:37 AM








If it is BPM code, I think you can set up logging..... ..

--- In vantage@yahoogroups .com, Thomas Rose <t.rose@...> wrote:
>
> I have some code that is valid, and it seems to run without errors, but it is not doing what I expect it to. Are there some things I can throw into the code to show me the status of things (what value a variable has, where in the code execution is happening, et. al.)? Is there any detailed logging I can do, and, if so, how? I know I get great advice in this forum, but using all y'all as my 4GL debugger would probably get old after awhile, and, I really need to be able to figure some things out on my own.
>
> Thom Rose
> Controller
> Electric Mirror LLC
> HOTEL LUXURY
>
> "The World Leader in Back-lit Mirrors & Mirror TV Technology"
>
> T 425 776-4946
> A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
> www.electricmirror. com<http://www.electric mirror.com>
>
>
>
> [Non-text portions of this message have been removed]
>



















[Non-text portions of this message have been removed]
Thank you to all who responded. Mike, this solution worked best for me. I now have my code working the way it should. Thanks!

Thom Rose
Controller
Electric Mirror LLC
HOTEL LUXURY

"The World Leader in Back-lit Mirrors & Mirror TV Technology"

T 425 776-4946
A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
www.electricmirror.com<http://www.electricmirror.com>

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Mike Anstey
Sent: Tuesday, June 16, 2009 6:41 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 4GL Debugging





I add message statements to my 4GL code.

When you add a message statement it is written to the server.log file
for the database you are in. e.g. for live it would be
mfgsys803.server.log.

As I am on unix this has been a great feature because I am able to view
the log live (with the tail -f command) without having to open and close
the file each time I want to see something.

To use the message statement just do the following:

Message "hello there ".

To use it with a variable just add the variable name.

Message "ttOrderDtl.Orderline " ttOrderDtl.Orderline.

You can stick as many of these as you like in your code.

Don't forget to end you statement with a period.

________________________________

From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf
Of Thomas Rose
Sent: Tuesday, June 16, 2009 10:30 AM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] 4GL Debugging

I have some code that is valid, and it seems to run without errors, but
it is not doing what I expect it to. Are there some things I can throw
into the code to show me the status of things (what value a variable
has, where in the code execution is happening, et. al.)? Is there any
detailed logging I can do, and, if so, how? I know I get great advice in
this forum, but using all y'all as my 4GL debugger would probably get
old after awhile, and, I really need to be able to figure some things
out on my own.

Thom Rose
Controller
Electric Mirror LLC
HOTEL LUXURY

"The World Leader in Back-lit Mirrors & Mirror TV Technology"

T 425 776-4946
A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
www.electricmirror.com<http://www.electricmirror.com
<http://www.electricmirror.com> >

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]
If you like to be able to "tail" logfiles, check out BareTail for Windows:

http://www.baremetalsoft.com/baretail/

They also have a 'grep'-like program. The pro version of baretail includes filtering.

-bws

--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
    bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Thomas Rose
Sent: Tuesday, June 16, 2009 5:56 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 4GL Debugging

Thank you to all who responded. Mike, this solution worked best for me. I now have my code working the way it should. Thanks!

Thom Rose
Controller
Electric Mirror LLC
HOTEL LUXURY

"The World Leader in Back-lit Mirrors & Mirror TV Technology"

T 425 776-4946
A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
www.electricmirror.com<http://www.electricmirror.com>

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Mike Anstey
Sent: Tuesday, June 16, 2009 6:41 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] 4GL Debugging





I add message statements to my 4GL code.

When you add a message statement it is written to the server.log file
for the database you are in. e.g. for live it would be
mfgsys803.server.log.

As I am on unix this has been a great feature because I am able to view
the log live (with the tail -f command) without having to open and close
the file each time I want to see something.

To use the message statement just do the following:

Message "hello there ".

To use it with a variable just add the variable name.

Message "ttOrderDtl.Orderline " ttOrderDtl.Orderline.

You can stick as many of these as you like in your code.

Don't forget to end you statement with a period.

________________________________

From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf
Of Thomas Rose
Sent: Tuesday, June 16, 2009 10:30 AM
To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] 4GL Debugging

I have some code that is valid, and it seems to run without errors, but
it is not doing what I expect it to. Are there some things I can throw
into the code to show me the status of things (what value a variable
has, where in the code execution is happening, et. al.)? Is there any
detailed logging I can do, and, if so, how? I know I get great advice in
this forum, but using all y'all as my 4GL debugger would probably get
old after awhile, and, I really need to be able to figure some things
out on my own.

Thom Rose
Controller
Electric Mirror LLC
HOTEL LUXURY

"The World Leader in Back-lit Mirrors & Mirror TV Technology"

T 425 776-4946
A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
www.electricmirror.com<http://www.electricmirror.com
<http://www.electricmirror.com> >

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]



[Non-text portions of this message have been removed]



------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
If you've installed the windows resource kit, you'll find tail.exe in the "Program Files\Windows Resource Kits\tools" directory. It also has the -f option.

--- In vantage@yahoogroups.com, "Brian W. Spolarich " <bspolarich@...> wrote:
>
> If you like to be able to "tail" logfiles, check out BareTail for Windows:
>
> http://www.baremetalsoft.com/baretail/
>
> They also have a 'grep'-like program. The pro version of baretail includes filtering.
>
> -bws
>
> --
> Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
> Â Â Â Â bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com
>
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Thomas Rose
> Sent: Tuesday, June 16, 2009 5:56 PM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] 4GL Debugging
>
> Thank you to all who responded. Mike, this solution worked best for me. I now have my code working the way it should. Thanks!
>
> Thom Rose
> Controller
> Electric Mirror LLC
> HOTEL LUXURY
>
> "The World Leader in Back-lit Mirrors & Mirror TV Technology"
>
> T 425 776-4946
> A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
> www.electricmirror.com<http://www.electricmirror.com>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Mike Anstey
> Sent: Tuesday, June 16, 2009 6:41 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] 4GL Debugging
>
>
>
>
>
> I add message statements to my 4GL code.
>
> When you add a message statement it is written to the server.log file
> for the database you are in. e.g. for live it would be
> mfgsys803.server.log.
>
> As I am on unix this has been a great feature because I am able to view
> the log live (with the tail -f command) without having to open and close
> the file each time I want to see something.
>
> To use the message statement just do the following:
>
> Message "hello there ".
>
> To use it with a variable just add the variable name.
>
> Message "ttOrderDtl.Orderline " ttOrderDtl.Orderline.
>
> You can stick as many of these as you like in your code.
>
> Don't forget to end you statement with a period.
>
> ________________________________
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf
> Of Thomas Rose
> Sent: Tuesday, June 16, 2009 10:30 AM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] 4GL Debugging
>
> I have some code that is valid, and it seems to run without errors, but
> it is not doing what I expect it to. Are there some things I can throw
> into the code to show me the status of things (what value a variable
> has, where in the code execution is happening, et. al.)? Is there any
> detailed logging I can do, and, if so, how? I know I get great advice in
> this forum, but using all y'all as my 4GL debugger would probably get
> old after awhile, and, I really need to be able to figure some things
> out on my own.
>
> Thom Rose
> Controller
> Electric Mirror LLC
> HOTEL LUXURY
>
> "The World Leader in Back-lit Mirrors & Mirror TV Technology"
>
> T 425 776-4946
> A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
> www.electricmirror.com<http://www.electricmirror.com
> <http://www.electricmirror.com> >
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
I'm guessing tail.exe requires you to map a drive letter to work from a command prompt.

BareTail is a real Windows app and deals with UNC paths, etc.

--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
    bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of kirstin.brandt
Sent: Wednesday, June 17, 2009 10:22 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: 4GL Debugging

If you've installed the windows resource kit, you'll find tail.exe in the "Program Files\Windows Resource Kits\tools" directory. It also has the -f option.

--- In vantage@yahoogroups.com, "Brian W. Spolarich " <bspolarich@...> wrote:
>
> If you like to be able to "tail" logfiles, check out BareTail for Windows:
>
> http://www.baremetalsoft.com/baretail/
>
> They also have a 'grep'-like program. The pro version of baretail includes filtering.
>
> -bws
>
> --
> Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
> Â Â Â Â bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com
>
>
> -----Original Message-----
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Thomas Rose
> Sent: Tuesday, June 16, 2009 5:56 PM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] 4GL Debugging
>
> Thank you to all who responded. Mike, this solution worked best for me. I now have my code working the way it should. Thanks!
>
> Thom Rose
> Controller
> Electric Mirror LLC
> HOTEL LUXURY
>
> "The World Leader in Back-lit Mirrors & Mirror TV Technology"
>
> T 425 776-4946
> A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
> www.electricmirror.com<http://www.electricmirror.com>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Mike Anstey
> Sent: Tuesday, June 16, 2009 6:41 AM
> To: vantage@yahoogroups.com
> Subject: RE: [Vantage] 4GL Debugging
>
>
>
>
>
> I add message statements to my 4GL code.
>
> When you add a message statement it is written to the server.log file
> for the database you are in. e.g. for live it would be
> mfgsys803.server.log.
>
> As I am on unix this has been a great feature because I am able to view
> the log live (with the tail -f command) without having to open and close
> the file each time I want to see something.
>
> To use the message statement just do the following:
>
> Message "hello there ".
>
> To use it with a variable just add the variable name.
>
> Message "ttOrderDtl.Orderline " ttOrderDtl.Orderline.
>
> You can stick as many of these as you like in your code.
>
> Don't forget to end you statement with a period.
>
> ________________________________
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf
> Of Thomas Rose
> Sent: Tuesday, June 16, 2009 10:30 AM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] 4GL Debugging
>
> I have some code that is valid, and it seems to run without errors, but
> it is not doing what I expect it to. Are there some things I can throw
> into the code to show me the status of things (what value a variable
> has, where in the code execution is happening, et. al.)? Is there any
> detailed logging I can do, and, if so, how? I know I get great advice in
> this forum, but using all y'all as my 4GL debugger would probably get
> old after awhile, and, I really need to be able to figure some things
> out on my own.
>
> Thom Rose
> Controller
> Electric Mirror LLC
> HOTEL LUXURY
>
> "The World Leader in Back-lit Mirrors & Mirror TV Technology"
>
> T 425 776-4946
> A 11831 Beverly Park Rd, Bldg D, Everett, WA 98204 USA
> www.electricmirror.com<http://www.electricmirror.com
> <http://www.electricmirror.com> >
>
> [Non-text portions of this message have been removed]
>
> [Non-text portions of this message have been removed]
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>




------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and Crystal Reports and other 'goodies', please goto: http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto: http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links