clearing breakpoints using dbx v 7.2.1


 
Thread Tools Search this Thread
Top Forums Programming clearing breakpoints using dbx v 7.2.1
# 1  
Old 11-30-2007
clearing breakpoints using dbx v 7.2.1

Im unsure of how to clear break points using dbx v7.2.1

Ive tried using


delete linenumber of breakpoint


however this does not seem to work. Could anyone point me in the correct direction ?

regards
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Breakpoints dont work in Codeblocks, code does not build

Hey so I've written a program and it crashes every time I run it. I tried placing breakpoints to see what was going but to my surprise they do not work! I've placed them anywhere and they do not stop the execution of the program. In fact if I add code and hit rebuild it doesn't even build that... (1 Reply)
Discussion started by: Cambria
1 Replies

2. AIX

clearing PVID

HI admins, I am not able to clear pvid .I am getting below error. chdev -l hdisk273 -a pv=clear Method error (/usr/lib/methods/chgdisk): 0514-047 Cannot access a device. pv The disk is from SAN. I can clear remove the disk using rmdev.But if i run cfgmgr , this disk apperas... (2 Replies)
Discussion started by: newaix
2 Replies

3. 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

4. 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

5. 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

6. Linux

clearing history

Is it possible to clear certain specific commands from history. I mean not clearing the entire history (history -c). You don't want anyone to see a particular command you executed. must not also show you have cleared history. Is it possible ? (2 Replies)
Discussion started by: nitin09
2 Replies

7. Programming

No dbx installed

I have a problem whith dbx: there is no dbx installed!!! Could someone tell me where do i get dbx program and how to install it? Thanks. (1 Reply)
Discussion started by: calloc
1 Replies

8. HP-UX

clearing history

HI, Can anybody tell me...what is a command for clearing command history in HP-UX machine. I tried 'history -c' but it is not applicable.... Thanks JAGDISH MACHHI (4 Replies)
Discussion started by: jagdish.machhi@
4 Replies

9. UNIX for Dummies Questions & Answers

Clearing Swapfiles?

Hi, Does anyone know of a command to safely clear the swapfiles to free up diskspace? It's done at shutdown/startup, but I'd rather not have down time, if possible. Thanks, MrToast (BTW, Mac OS X 10.3.5 ;) ) (3 Replies)
Discussion started by: MrToast
3 Replies

10. Solaris

Help required on DBX

Hi All, I've been using Linux for past 2yrs for professional dev. Im well-off with gnu gdb. I am a C++ developer. Now that i use solaris, I need help on DBX. Regards, Sumanth (1 Reply)
Discussion started by: Sumanth
1 Replies
Login or Register to Ask a Question
pydb(1) 						      General Commands Manual							   pydb(1)

NAME
pydb -- enhanced Python debugger SYNOPSIS
pydb [debugger-options] python-script [script-options...] DESCRIPTION
This manual page documents briefly the pydb command. pydb is an extended Python debugger. It extends the Python standard debugger pdb and is suited for use with the graphical debugger DDD. The purpose of a debugger such as this one is to allow you to see what is going on ``inside'' another program while it executes--or what another program was doing at the moment it crashed. We follow gdb's command set unless there's good reason not to. pydb can do four main kinds of things (plus other things in support of these) to help you catch bugs in the act: o Start or restart your Python script, specifying arguments that might affect its behavior. o Make your program stop at various points possibly determined by specified conditions. o Examine what has happened when your program has stopped. o Change things in your program, so you can experiment with correcting the effects of one bug and go on to learn about another. Here are some of the most frequently-needed commands: break [file:line|function] Set a breakpoint at function or at the specified file and line. clear [file:line|function] Clear a breakpoint at function or at the specified file and line. If line number is specified, all breakpoints in that line are cleared. If a function is specified, breakpoints at beginning of function are cleared. With no argument, clears all breakpoints in the line that the selected frame is executing in. See also the delete command which clears breakpoints by number. continue [line] Continue running your program until the next breakpoint or until the end of the program. If a line number is given set a one-time breakpoint at that line. delete [breakpoint-numbers] Delete breakpoints by number. To delete all breakpoints, give no breakpoint number. See also the clear command which clears break- points by line/file number. disassemble [location] Disassemble Python instructions at the point you are currently stopped at. If location is a line number, do not show instructions before line. Location can also be a class, method, function, code or string argument. examine expr Give type/object and value information about expression. finish Run until the completion of the current function or method. frame frame-number Set the stack frame to frame-number for purposes of examinine local variables. For positioning relative to the current frame, use up or down. help [name] Show information about pydb command name, or general information about using pydb. info [name] Get the various information usually about the debugged program. list [file:line|function] type the text of the program in the vicinity of where it is presently stopped or at the specified function or file and line. next [count] Execute next program line(s) (after stopping); step over any function calls in the line. pp expr Pretty print the value of an expression. print expr Display the value of an expression. source filename Read and execute the lines in file filename as a series of debugger commands. An error in any command terminates execution of the command file and control is returned to the console. quit Exit from the debugger. run [arglist] (Re)start your program (with arglist, if specified). If you want the debugger to get reloaded, use restart instead. set Modify parts of the debugger environment. shell command Run a shell command. show See the debugger environment settings step [count] Execute next program line(s) (after stopping); step into any function calls in the line. where [count] Display all or count items of the program stack. For full details on pydb, see http://bashdb.sourceforge.net/pydb/pydb/index.html OPTIONS
--version show the version number and exit -h | --help show invocation help and exit -X | --trace Show lines before executing them. This option also sets --batch. -X | --fntrace Show functions before executing them. This option also sets --batch --batch Don't run interactive commands on debugger entry --basename Report file locations as only the base filename, and omit the directory name. This is useful in running regression tests. -x | --command=FILE Execute commands from FILE. --cd=DIR Change current directory to DIR. --error=FILE Write debugger's error output (stderr) to FILE -e | --exec Run debugger commands command-list. Commands should be separated by ";;"-the same as you would do inside the debugger. You may need to quote this option to prevent command shell interpretation, e.g. --exec "break 20;; continue" -n | --nx Don't execute commands found in any initialization files -o FILE | --output=FILE Write debugger's output (stdout) to FILE --sigcheck Set to watch for signal handler changes. -T, --threading Start off with threading debug support. -A LEVEL | --annotate=LEVEL Set gdb-like annotation_level. The annotation level is used by front-ends to get posted about program information when things change without having to poll for the information. SEE ALSO
http://bashdb.sourceforge.net/pydb/ http://bashdb.sourceforge.net/pydb/lib/index.html AUTHOR
pydb was written by Richard Wolff <rwolff@noao.edu> (now retired) based on the standard Python debugger pdb.py. Over the many years, pdb.py and pydb.py have diverged. It was subsequently revised and expanded to be more like gdb by Rocky Bernstein <rocky@gnu.org> The first version of this manual page was written by Gregor Hoffleit <flight@debian.org> for the Debian project (but may be used by oth- ers). pydb(1)