QueryCAT Logo
Search 5,000,000+ questions and answers.

Frequently Asked Questions

How do I direct debug output to a text file?

Debugging - Windows Forms FAQs
You need to add a Trace Listener to your code. Below is sample code that adds a TextWriterTraceListener (and don't forget the Flush before you terminate). For more information on tracing in general, see Tracing Code in an Application in the Visual...

How do I create a debug file?

Soupermail Frequently Asked Questions
When Soupermail's not installing correctly, a good way to find out what's happening is to generate a Soupermail debug file. To do this, open the code for soupermail.pl and file the line setting $tempDir. Set this to somewhere appropriate on your server (ie, a real directory you can get to - /var/tmp/ is unlikely to be appropriate if you only have FTP access to your website). Make sure the place you set as $tempDir has write permissions for the webserver.

How can I send errors to the screen, and debug messages to a file?

Log::Log4perl::FAQ - Frequently Asked Questions on Log::Log4...
Let's assume you want to maintain a detailed DEBUG output in a file and only messages of level ERROR and higher should be printed on the screen. Often times, developers come up with something like this: # Wrong!!! log4perl.logger = DEBUG, FileApp log4perl.logger = ERROR, ScreenApp # Wrong!!! This won't work, however. Logger definitions aren't additive, and the second statement will overwrite the first one. Log4perl versions below 1.

trouble_debug: How do I get maximum debug output?

FAQ for isdn4linux: trouble: Troubleshooting
Execute the following commands to get maximum debug output: hisaxctrl <id> 1 0x33ff hisaxctrl <id> 11 0xf4f killall isdnlog cat /dev/isdnctrl > /tmp/ilog Be careful: this will generate a lot of output!

How can I redirect the output to a file?

Frequently asked questions about the Microsoft Network Secur...
This number is the number of the Microsoft Knowledge Base article that contains information about the security issue and the related software update.

What file or operation is it that is trying to write to this text file?

iSchool Technology Knowledge Base - How to Create a Ghost 8....
I was wondering if anyone has has noticed the error that when trying to connect to a norton ghostcast, that it can't seem to resolve the packet driver and IP address? I'm using a standard router with just a cable connecting to it and from that to the computer with the ghostcast running. when i try to run the 8.0 ghost.exe i am getting an error message that says program is to big to run in memory. how do i get around this.

How can I get direct X11 output instead of having my graphical output go to a metafile?

Frequently asked questions
You'll need to call NGPICT as well as changing your GOPWK call. For more information on these routines, type: man gopwk man ngpict or see the "User's Guide for NCAR GKS-0A Graphics" and the NCAR Graphics Fundamentals. To see example programs that produce direct X11 output, type: ncargex fgke04 ncargcex c_xwndws

How can I direct output to the printer?

System Dependencies
Under Unix, either use popen (see question 19.30) to write to the lp or lpr program, or perhaps open a special file like /dev/lp. Under MS-DOS, write to the (nonstandard) predefined stdio stream stdprn, or open the special files PRN or LPT1. Under some circumstances, another (and perhaps the only) possibility is to use a window manager's screen-capture function, and print the resulting bitmap.

Can you direct me please where the file is?

Call of Duty Files - Call of Duty - Frequently Asked Questio...
plz i need help makeing a server - Posted by: mastergamer1 (Member) on 06-10-2004 at 10:39 help me please make a server wat do i do when the console comes out!!! everything

Why is the output not printed when I source() a file?

R FAQ
fits a logistic regression model, computes some summary information and returns an object of class "summary.glm" (see How should I write summary methods?). If you type '1+1' or 'summary(glm(y~x+z, family=binomial))' at the command line the returned value is automatically printed (unless it is invisible()), but in other circumstances, such as in a source()d file or inside a function it isn't printed unless you specifically print it.

How do I write the contents of a text widget to an external file?

comp.lang.perl.tk FAQ
The answer has two parts. Writing to an external file is the same as in any Perl program: open(FILE, ">$filename"); print FILE $content; close FILE What's the content of a text widget? Most simply, $content = $text_widget->get("1.0", "end"); [Explain how it's possible to complexify this.]

My failure email is indicating that the text file failed. What can I do?

Internet Archive Frequently Asked Questions
Unlike FLAC or SHN, text files do not translate identically from 1 platform to another. Since the archive.org servers run Unix, text files created on other Operating Systems will fail their MD5check. We recommend uploaders remove any text files from their MD5's if they are having this problem.

How can I send tracetext to a text file instead of the console?

VisiVue FAQ - www.visicomp.com
By default, tracetext goes to the console. If you want to ensure that you get the last little bit of output, try: You can turn tracetext on and off dynamically (if you have source code for the program under observation) by calling the following method from your program: The single argument specifies whether tracetext should be turned on (true) or off (false). The returned value is the previous state.

How do I debug a .emacs file?

GNU Emacs FAQ
Start Emacs with the '-debug-init' command-line option. This enables the Emacs Lisp debugger before evaluating your .emacs file, and places you in the debugger if something goes wrong. The top line in the trace-back buffer will be the error message, and the second or third line of that buffer will display the Lisp code from your .emacs file that caused the problem. You can also evaluate an individual function or argument to a function in your .

How do I write information to the output window in a debug build, similar to VC6's TRACE macro?

Debugging - Windows Forms FAQs
You can use the Console.Write and Console.WriteLine methods from within a Windows Forms project to do this. The class DefaultTraceListener is used to implement this functionality. When your application is launched from Visual Studio in Debug mode, you...

How to produce execution debug output or error messages?

Maven - Frequently Asked Technical Questions
The scope you should use for this is provided. This indicates to Maven that the dependency will be provided at run time by its container or the JDK, for example. Dependencies with this scope will not be passed on transitively, nor will they be bundled in an package such as a WAR, or included in the runtime classpath.

Can I use the SMC's debug output facility for my own applications?

BeBOP Sparse Matrix Converter FAQ
Yes you can, although currently you may find that increasing the debug output verbosity (via either the SPMV_DEBUG_LEVEL environment variable or the smvm_set_debug_level() function) will cause the SMC to run much more slowly than usual (due to debugging code) and produce a lot of debugging output. Check out bebop_util/log.h for more details.

Why do I not see the output when I run certain daemons in debug or interactive mode?

Fedora Project, sponsored by Red Hat
SELinux intentionally disables access to the tty devices to stop daemons from communicating back with the controlling terminal. This communication is a potential security hole because such daemons could insert commands into the controlling terminal. A broken or compromised program could use this hole to cause serious problems. There are a few ways you can capture standard output from daemons. One method is to pipe the output to the cat command.

How do I get text to you and direct the look and progress of my new website?

Homecraftedsite - FAQ -Frequently Asked Questions
Provide all text and direction by email. An extra fee may be charged if sent in hard copy form/snail mail or phone message.
More Questions >>

© Copyright 2007-2012 QueryCAT
About • Webmasters • Contact