John Carter on Thu, 4 May 2000 08:47:27 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: GLUG: C/C++ IDE


On Thu, 4 May 2000, Andrew McGill wrote:

> (Oops - forgot about watches -- don't know how)

p MyVar       -- prints contents of MyVar
ptype MyVar   -- prints type of MyVar
watch MyVar   -- Will break next time MyVar changes
cont          -- continue...until watch variable changes.

Here some other commands...

awatch -- Set a watchpoint for an expression
break -- Set breakpoint at specified line or function
catch -- Set breakpoints to catch exceptions that are raised
clear -- Clear breakpoint at specified line or function
commands -- Set commands to be executed when a breakpoint is hit
condition -- Specify breakpoint number N to break only if COND is true
delete -- Delete some breakpoints or auto-display expressions
disable -- Disable some breakpoints
enable -- Enable some breakpoints
hbreak -- Set a hardware assisted  breakpoint
ignore -- Set ignore-count of breakpoint number N to COUNT
rbreak -- Set a breakpoint for all functions matching REGEXP
rwatch -- Set a read watchpoint for an expression
tbreak -- Set a temporary breakpoint
thbreak -- Set a temporary hardware assisted breakpoint
watch -- Set a watchpoint for an expression
                                                  
Ain't it luffly!?

I tell thee three times, debugging under Linux is blooming lekker.

John Carter

Work Email : john@xxxxxxxxxxxx Private email : cyent@xxxxxxxxxx 
Yell Phone : 083-543-6915      Phone         : 27-12-348-4246

Death is nature's gentle way of saying, "Relax".