question with running dbx


 
Thread Tools Search this Thread
Top Forums Programming question with running dbx
# 1  
Old 11-21-2007
question with running dbx

If your program unfortunately takes a LONG time to finish running in dbx and you find yourself hitting Ctrl+C or Ctrl+Z to stop the running, does it produce any adverse effects at all ?

The reason I am asking is because my program is in an infinite loop state (which leads to the huge delay in completion in dbx). The output of my program is routed to gnuplot (which is given as a CL arg when using run) which unfortunately is not working anymore. I think this could be due to me being impatient in using dbx

Could anyone provide some more info ?

cheers

Last edited by JamesGoh; 11-22-2007 at 05:21 PM..
# 2  
Old 11-22-2007
Quote:
Originally Posted by JamesGoh
....because my program is in an infinite loop
Infinite loops do normally take quite a while to complete, you may have to check, but to date, I don't think there are any recorded instances of infinite loops completing. Although they may not complete, running on a faster processor will still increase the throughput.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Question about running script.

Hi Gurus, I have problem to run script. I can run script with command ksh script_name.ksh but if i run script as ./script_name.ksh , it doesn't run. the permission for the script is: -rwxr-xr-x. my server is SunOS 5.10 Generic_150400-48 sun4v sparc sun4v do we need to setup... (5 Replies)
Discussion started by: green_k
5 Replies

2. Linux

Question Regarding mounting a drive and running a software

Hello; Whenever I reboot a system which one takes precedence; mounting the drives or running the init.d scripts Here is my situation: Every time I boot my system, I need to mount a RAID10 drive and run a software whose config files are on the RAID10 drive I want the software to only start... (1 Reply)
Discussion started by: ramky79
1 Replies

3. Programming

Cannot get dbx to work correctly with a running process

Hi everyone, I've been struggling with this for a few weeks now. I'm trying to debug a running process with dbx on an AIX box. The command I'm using is 'dbx -a <pid> core' There is a function I can perform in my application that crashes this process, but it does not show up as crashed in... (0 Replies)
Discussion started by: ctote
0 Replies

4. Shell Programming and Scripting

How to use dbx on AIX?

Hi, I ahd created my executable file from makefile on AIX. Now I want to debug my code using dbx. I typed: dbx help It goes into (dbx) prompt But afte that i do not know what to do to put breakpoints in my program and how to run step by step. Help me out ASAP. Thanks in... (0 Replies)
Discussion started by: Poonamol
0 Replies

5. Programming

dbx issue

hi i have executable(eg test) of my application that has the following syntax to run test -Ddatabase_name Inputfile Now i want to debug it using dbx so i do dbx test (dbx) stop at /abc/test/test.c:90 stop at /abc/test/test.c:90 ^ syntax error the... (0 Replies)
Discussion started by: mad_man12
0 Replies

6. Linux

running java program question

hi, i have just written a simple hello world java program in my linux server, installed jdk ... and tried to compile and run it and it gave me some errors. please details below: # cat HelloWorld.java import java.util.*; import java.io.*; public class HelloWorld { public static void... (4 Replies)
Discussion started by: k2k
4 Replies

7. AIX

Question on background running job

Guys, We use AIX 5.3 at our work place. I only in my team have a strange problem of not able run jobs background. Other colleagues are able to run without any problem. Once I kick off background job using nohup and & command, It immediately stops. The following error I get when I run. ... (2 Replies)
Discussion started by: anandsbr
2 Replies

8. UNIX for Advanced & Expert Users

need help on dbx commands?

Hi .. I have a core_dump in the server... AIX 5.3 . It was created by on proc executable called "ProcessIse" . from the log report i found the source file name "ProcessIseInterface.C" which created the core file. the core file name is : "core" under /iprs/bin directory. can you help me... (1 Reply)
Discussion started by: vparunkumar
1 Replies

9. UNIX for Dummies Questions & Answers

Running a script in cron question

There is this script I'd like to put into cron, but it asks for date verification. It'll prompt you to press enter to continue. Usually, 100% of the time the dates are ok, so is there a way to run this script in cron and bypass the "enter" prompt? (3 Replies)
Discussion started by: NycUnxer
3 Replies

10. Programming

GDB or DBX??

Which is better?? I have always been a gdb fan.. But ppl say dbx is beter better for debugging the core.. Do all GDB lovers agree to it??? :cool: (1 Reply)
Discussion started by: jyotipg
1 Replies
Login or Register to Ask a Question