HPE GreenLake Administration
Operating System - HP-UX
1834397
Members
2357
Online
110067
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2002 02:40 PM
12-19-2002 02:40 PM
DDE
Does anyone know the syntax to stop or pause program execution when a variable gets to be a certain value using dde? Yes, I did rtfm, but didn't come across anything about this. Where did I miss the info, please tell me so I can slap myself upside the head.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2002 04:37 AM
12-20-2002 04:37 AM
Re: DDE
HI.
you can use breakpoints to stop dde whenever your variable equals to a certain value.
you can look for help in the hp technical documentation on softbench software.
for refferances:
http://docs.hp.com/hpux/onlinedocs/B6454-97413/00/00/68-con.html
i have also copyed the relevant section:
Executing DDE Commands at a Breakpoint:
You can have SoftBench Debugger execute a debugger command whenever it stops at a breakpoint. When you create or modify a breakpoint using the "Breakpoint Set/Change" dialog box:
Enter the desired debugger command in the "Commands" input box. See "Help: DDE Reference" for more information on these commands.
Enter a number in the "Stop After Count" input box to specify the number of times you want your program to ignore the breakpoint before it stops and executes the commands. The "Hits" field tells how many times the breakpoint has already been encountered. "Count" defaults to 0, meaning SoftBench Debugger stops on the first encounter.
Select OK. If you select Cancel, SoftBench Debugger discards the command entered in the input box, and does not modify the breakpoint.
For example, if you are sure an error happens on the 53rd time through a loop, you could set a breakpoint in the loop and enter 52 in the "Stop After Count" input box.
If the error happens only when the variable x is 14, you could enter "print x; if x != 14 -then [go]" in the "Commands" input box. This prints the value of x each time SoftBench Debugger encounters the breakpoint, but does not stop until x reaches the critical value. You may also want to make the breakpoint Silent so the breakpoint notification message does not print each time the breakpoint is encountered.
Hoping this helped you...
Oren.
you can use breakpoints to stop dde whenever your variable equals to a certain value.
you can look for help in the hp technical documentation on softbench software.
for refferances:
http://docs.hp.com/hpux/onlinedocs/B6454-97413/00/00/68-con.html
i have also copyed the relevant section:
Executing DDE Commands at a Breakpoint:
You can have SoftBench Debugger execute a debugger command whenever it stops at a breakpoint. When you create or modify a breakpoint using the "Breakpoint Set/Change" dialog box:
Enter the desired debugger command in the "Commands" input box. See "Help: DDE Reference" for more information on these commands.
Enter a number in the "Stop After Count" input box to specify the number of times you want your program to ignore the breakpoint before it stops and executes the commands. The "Hits" field tells how many times the breakpoint has already been encountered. "Count" defaults to 0, meaning SoftBench Debugger stops on the first encounter.
Select OK. If you select Cancel, SoftBench Debugger discards the command entered in the input box, and does not modify the breakpoint.
For example, if you are sure an error happens on the 53rd time through a loop, you could set a breakpoint in the loop and enter 52 in the "Stop After Count" input box.
If the error happens only when the variable x is 14, you could enter "print x; if x != 14 -then [go]" in the "Commands" input box. This prints the value of x each time SoftBench Debugger encounters the breakpoint, but does not stop until x reaches the critical value. You may also want to make the breakpoint Silent so the breakpoint notification message does not print each time the breakpoint is encountered.
Hoping this helped you...
Oren.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP