Re: Variable Dump
Posted in 1999
<neil_rutherford@yahoo.com> wrote in message news:7gv3a6$et5$1@nnrp1.deja.com... > Hey bud, The first thing is.. can you recompile the program yourself with the > -g option? > > If so then > use your debugger to display the variable or use the dump option to dump > a memory area.... i recommend you read your debugger man page (if unix) > or manual.. debuggers differ from on platforms..... have a play. > As for all variables.. read the man page for your debugger for the print > option (or which ever displays your variables) Running the debugger is not an option unfortunately. The application is being run by multiple users and on occasion it is creating bad results. It does not seem to be consistent and no one has been able to recreate the problem. I can trap the problem in the program but I need to see the value of all of the variables being used at that point in the program. > else > i guess you'll have to poke around in memory... something i wouldn't > advise. > The i'd take it you're a wanna be hacker then... i mean why would you want > to hack someone elses application for. I have no choice I need to fix someone else's mess. By the way, I have no interest in being a hacker. > end if > > In article <wrDY2.27741$134.324788@tor-nn1.netcom.ca>, > "Shawn Dagg" <sdagg@netcom.ca> wrote: > > Hi All, > > > > I want to be able to do a variable dumb from within a compiled program. > > > > Does anyone know of an equivalent to the 'dump all' command in the debugger > > that would allow me to dumb all of the variables and their values without > > explicitly listing them? > > > > Thanks, > > > > Shawn > > > > -- > > ______________________________________________ > > Shawn Dagg > > MIC Inc. "people who make IT happen" > > Senior Consultant > > E-Mail: sdagg@micinc.com > > International Informix User Group - Board of Directors > > Director of Events > > ______________________________________________ > > > > > > -----------== Posted via Deja News, The Discussion Network ==---------- > http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own