Re: [U2] Debugger Woes
Check the size of the program when compiled with the -D. You may be blowing some Shared Basic Code parameter in udtconfig. -Original Message- From: u2-users-boun...@listserver.u2ug.org [mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Israel, John R. Sent: Monday, July 11, 2011 1:40 PM To: 'U2 Users List' Subject: [U2] Debugger Woes OK boys and girls, here is a weird one! Last week, one of our programmers was looking for some issues with 2 programs in Avanté. All he did with the 1st program (IIREADUL) was add a comment and recompile the code with the debugger option. All he did to the 2nd program is recompile with the debugger on. For some weird reason, our barcode handheld users started core dumping! This was not constantly happening, but was occurring 5-10 times an hour. We did not initially hit on the fact that it was one or both of these programs (debug mode should NOT do this), but after recompiling them w/o the debugger, the problems disappeared. Any divine insight as to why having a program compiled with debug on would cause frequent (but not consistent) code dumps? HPUX: 11.31 UniData: 7.2.1 SB: 5.4.2 John Israel Senior Programmer/Analyst Dayton Superior Corporation 1125 Byers Road Miamisburg, OH 45342 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
[U2] Debugger Woes
OK boys and girls, here is a weird one! Last week, one of our programmers was looking for some issues with 2 programs in Avanté. All he did with the 1st program (IIREADUL) was add a comment and recompile the code with the debugger option. All he did to the 2nd program is recompile with the debugger on. For some weird reason, our barcode handheld users started core dumping! This was not constantly happening, but was occurring 5-10 times an hour. We did not initially hit on the fact that it was one or both of these programs (debug mode should NOT do this), but after recompiling them w/o the debugger, the problems disappeared. Any divine insight as to why having a program compiled with debug on would cause frequent (but not consistent) code dumps? HPUX: 11.31 UniData: 7.2.1 SB: 5.4.2 John Israel Senior Programmer/Analyst Dayton Superior Corporation 1125 Byers Road Miamisburg, OH 45342 ___ U2-Users mailing list U2-Users@listserver.u2ug.org http://listserver.u2ug.org/mailman/listinfo/u2-users
RE: [U2] DEBUGGER
Sanjeeb As with everything in UniVerse there is more than one way to use it! There are two debugger environments - the client/server UniDebugger application, and the regular debugger in your UniVerse command session (TCL). To enter the debugger in TCL you can either: a) include a DEBUG statement in the code. The program will stop there and enter the debugger. Just remember to remove that when you recompile! b) press your break key whilst running the program (usually Ctrl-C) and select the 'D' option when you are given the break options. You can set the value of the break key by typing: PTERM INTR followed by the key you wish to choose (e.g. Ctrl-C or Ctrl-X). Brian hi, How do i use Debugger to debug a Universe basic program.RAID command helps me doing that but I need to know how to use a debugger while compiling with DEBUG option. Thanks, Sanjeeb --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] DEBUGGER
You don't compile with the DEBUG option. The Universe Debugger is an interactive debugger that you run the program inside of. It's more of an editor/debugger than just a debugger. Load the program you want to debug then use the "stepping" options to move from line to line and view the contents of variables in the watch window. I always start with the F8 key then set the stop/break points I want. Word of caution, if you have set some break points then make a change to your source code and compile, your preset break points may not behave as you wish. I always clear my break points before running a debug session to make sure the processing stops on the line I want. Also, "DEBUG" statements in your source code do not affect the debugger. It just skips right over them. HTH BobW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanjeebkumar Sarangi Sent: Thursday, March 15, 2007 6:45 AM To: u2-users@listserver.u2ug.org Subject: [U2] DEBUGGER hi, How do i use Debugger to debug a Universe basic program.RAID command helps me doing that but I need to know how to use a debugger while compiling with DEBUG option. Thanks, Sanjeeb --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] DEBUGGER
hi, How do i use Debugger to debug a Universe basic program.RAID command helps me doing that but I need to know how to use a debugger while compiling with DEBUG option. Thanks, Sanjeeb =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Debugger in SB+
TRACE.ON and TRACE.OFF can be useful, although they are arguably the most annoying debugging tools. I'm more of an EXEC 'EE' guy myself for most of my debugging, especially with paragraphs. I also don't use logging, btw. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Debster Sent: Thursday, November 10, 2005 9:26 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Debugger in SB+ and correct me if I am wrong Kevin, oh Grand Poobah of SB+ secrets... I always used the trace function in order to determine the process flow and if needed coupled with imbedding display functions (with "if user.id = " ) if needed to determine the exact value of a variable. I know you can also use logging but I never had the need. --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Debugger in SB+
and correct me if I am wrong Kevin, oh Grand Poobah of SB+ secrets... I always used the trace function in order to determine the process flow and if needed coupled with imbedding display functions (with "if user.id = " ) if needed to determine the exact value of a variable. I know you can also use logging but I never had the need. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Kevin King Sent: Thursday, November 10, 2005 9:35 AM To: u2-users@listserver.u2ug.org Subject: RE: [U2] Debugger in SB+ Absolutely. Check out my "Debugging Tips and Tricks for the SB+ Developer" online class on December 15th. http://www.PrecisOnline.com/train.html. And my apologies for the advertisement. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr Sent: Thursday, November 10, 2005 5:44 AM To: u2-users@listserver.u2ug.org Subject: [U2] Debugger in SB+ Does anybody know how to debug Processes in SB+ Thanks in advance Bjorn Behr Super Group --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.8/165 - Release Date: 11/9/2005 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
Re: [U2] Debugger in SB+
Bjorn, You may want to sign up for the SB+ mailing list and see if they can help you. Instructions for signing up can be found below. -- - Charles Barouch, Moderator U2-Users U2-Community RBSolutions SBSolutions Visit http://listserver.u2ug.org, enter your e-mail address, and 'browse all' lists to maintain your access. For non-U2UG e-mail: [EMAIL PROTECTED] --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
RE: [U2] Debugger in SB+
Absolutely. Check out my "Debugging Tips and Tricks for the SB+ Developer" online class on December 15th. http://www.PrecisOnline.com/train.html. And my apologies for the advertisement. -Kevin [EMAIL PROTECTED] http://www.PrecisOnline.com -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Behr Sent: Thursday, November 10, 2005 5:44 AM To: u2-users@listserver.u2ug.org Subject: [U2] Debugger in SB+ Does anybody know how to debug Processes in SB+ Thanks in advance Bjorn Behr Super Group --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/ -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.362 / Virus Database: 267.12.8/165 - Release Date: 11/9/2005 --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/
[U2] Debugger in SB+
Does anybody know how to debug Processes in SB+ Thanks in advance Bjorn Behr Super Group --- u2-users mailing list u2-users@listserver.u2ug.org To unsubscribe please visit http://listserver.u2ug.org/