Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips
Tip Bank > Testing and QA > Profiling

Profiling

1-20 of 80     Previous     Next
Using Pointers as Integers
by Danny Kalev
In the early days of C, pointers were plain integers. Relics of this approach can still be found in vintage APIs and legacy code. For instance, the ANSI C <signal.h> header declares the ...
Optimizing String Classes in Java Code
by Naveet Gupta
The String class is probably one of the most used classes in Java. String concatenation via the
Returning a Value from a Function that Throws
by Danny Kalev
A reader asked me the following questions: "Can a function that returns something, throw a exception and still return a value?" Lets' look at a concrete ...
Java Profiler
by DevX Pro
Is there a profiler like JProbe which supports the Microsoft Virtual Machine? I already tried the -prof switch on the command line, but that doesn't do everything I need.
Significance of const Return
by DevX Pro
What is the significance of const return type from a function? Similar to: const int func1();
Violating an Exception Specification
by Danny Kalev
The implementation ensures that functions having an exception specification should throw only exceptions that are listed in their exception specification. For ...
Leave a Grain of Debugging Info in Your Release Version
by Danny Kalev
It may be tempting to squeeze an extra pint of performance by removing all debug information from the release version. However, it's recommended to leave minimal debugging info even in the release ...
Cannot Quit FoxPro
by DevX Pro
I have built an executable file and included a READ EVENTS command. After running the .exe, I am unable to quit VFP. The message I get reads: "Cannot quit FoxPro."
Function's Return Value
by DevX Pro
I'd like to know how can I make a return of a function's local variable (for example, a reference to it) not using pointers technique?
Keyword 'huge'
by DevX Pro
I am getting a compile error 'huge' obsolete keyword. I am converting a process from Visual C++ 2.0 to 6.0. What keyword could I use in place of 'huge'?
Stack Unwinding in the Event of an Uncaught Exception
by Danny Kalev
When an exception is thrown and no matching handler can be found for it, C++ invokes the function terminate(). By default, terminates invokes the function abort(). Some compilers guarantee that at ...
Differences in Execution Flow
by DevX Pro
Why would a program not yield any errors, and yet not run on one system, while resulting in a perfect run (unchanged) on another system? Specifically, a switch statement was completely ignored on my system, yet functioned accurately on my professor's.
Error Handling Routines
by DevX Pro
While converting source code from C to C++, I came up with difficulties in converting error handling routines like err_quit(),err_sys(),etc. Are there C++ versions of these functions and where can I find them?
Debugging in Visual C++
by DevX Pro
Is there a way to access the call stack debugging information from the code? I would like to print the call stack inside a function, each time it is called.
Help Files in Applications
by DevX Pro
I created a "help" button in a form and coded this button's click event as: { help } The code { set help to MyHelp.chm } is included in the main program before the "do form." When I make an application through Setup wizard and install it in a computer that has no VFP, the help button does not display the help window and doesn't give an error message either. What's going on?
Visual FoxPro App Shuts Down in Runtime
by DevX Pro
I have my first Visual FoxPro app that runs fine in the development environment, but will not run in runtime. What do I need to do to keep it going in the runtime?
Invalid Seek Offset
by DevX Pro
What causes the error message "Invalid seek offset"?
Location of Wizards
by DevX Pro
Every time I try to use a wizard, I get the following error message: "Cannot find the Wizard Program." The wizards are located in the same folder that I am working in, and when I use "Find" and then click on the wizard, it will load and work OK. Any suggestions?
Exception.what() Gives Vague Description
by DevX Pro
I'm using a catch(exception e). When I come in the catch-block and print the message belonging to the exception, I receive the message "9exception." What does it mean?
Cache the Result of Complex Computations
by Danny Kalev
The following loop is very ...
1-20 of 80     Previous     Next
Sitemap