I don't like real-time debugging much, but if it's necessary I'll do it.
Is there any way to figure out what line of code a StackTrace in Objective-C refers to? What about the variable it refers to? For instance:
2010-05-13 19:39:11.673 Thingers[21003:207] *** -[NSCFString count]: unrecognized selector sent to instance 0x3b0ebb0
2010-0...
Can I configure mod_php, XDebug, or Eclipse (or some other free program) to print to file the code that is executed? And if so can I limit it to function calls to keep it somewhat readable?
...
I am running into an issue when troubleshooting a web page that works in IE but not Firefox. The Firefox debugger is stopping on the following line:
btnhelp = new button("btnhelp", framemenu.document.imghelp, "../images/gui/help_o.jpg", "../images/gui/help.jpg", "", "hand", true);
I see that button is defined in another class with som...
I wrote the following heap debugger in order to demonstrate memory leaks, double deletes and wrong forms of deletes (i.e. trying to delete an array with delete p instead of delete[] p) to beginning programmers.
I would love to get some feedback on that from strong C++ programmers because I have never done this before and I'm sure I've d...
I just installed QT 4.6 on snow leopard 10.6.3. I wrote a really simple program. I can generate a xcode project using qmake, but I can't step into QT function. How can I set it up?
...
While debugging my program, whether it's an ASP.NET application or a .NET console EXE and I have the debugger paused at a breakpoint I try to find a file in Windows Explorer. Either pressing WinKey+F or selecting search from the context menu freezes Windows Explorer - until I resume the program being debugged.
My program has nothing to ...
You can point a single symbol file to gdb with command symbol-file /usr/lib/debug/symbolfile.so
But how to tell gdb to load all symbol-files from given path including subdirectories?
...
This is a follow-up to Critique my heap debugger from yesterday. As suggested by bitc, I now keep metadata about the allocated blocks in a separate handwritten hashtable.
The heap debugger now detects the following kinds of errors:
memory leaks (now with more verbose debugging output)
illegal pointers passed to delete (that also takes...
Hello,
I have inherited a project, it was originally written in VS2005.
I have made a few changes, but all are design.
Now when I run the project using the visual studio's web server, in IE8, the page shows up just fine, however in FireFox 3.6.3, I get gibberish (a full page of this):
�I�%&/m�{J�J��t��$ؐ@�����iG#)�*��eVe]f@�흼
��{��...
Ok, maybe this isn't so amazing considering I don't really understand how the debugger works in the first place, let alone Edit and Continue, which is totally amazing.
But I was wondering if anyone knew what the debugger is doing with variable declarations in this scenario. I can be debugging through my code, move the line of execution ...
The browser renders my changes properly for that function, but I cannot see the source when I use the
"view source" menu item. How can I see the changed source HTML?
...
Every time I try to debug my Rails app via Netbeans I get a ...
"Could not connect to web server - cannot show http://localhost:3000"
Rails - 2.3.5
Ruby - 1.8.7-p249
Anyone know how to resolve this?
Thanks
...
Is there a way to trace through function calls at the lowest levels of the Android system? Right now when I debug in Eclipse, it goes through the source files that are located inside the frameworks folder, but is it possible to go even lower? For example show what functions are being called from the libcore folder. I am also interested t...
I have debug=true both in the web.config and in the requested file but it still won't stop.
Thanks...
...
Hello,
First of all I apologize in advance for this question, a bit off the rang of stackoverflow, but I've spend a day trying to solve that issue and I'm totally stuck.
The issue: The search function of my script (php) works perfectly fine on one host but not on the other.
If you search something here : edu-cafe.com, you'll get a resu...
during debug in cassini the code runs fine, but when I explictly build it, the compile breaks on an object saying it can't find the reference. During a breakpoint shows the proper reference to the object, and I can view the debug intellisense.
The code itself is simple
using CFTW.Controls;
...
controls_LatestPresentations c = LoadCont...
Hi,
Just moved a symfony project from local (win) to server (linux), and the icons in the web debug toolbar have disappeared. Only the image alts remain so I guess it's a path issue with the images. Basically, I see "Time 300ms" instead of "[icon] 300ms" for each of the items.
I'm a little worried that some other paths aren't broken as...
I'm getting peppered with
* __NSAutoreleaseNoPool(): Object 0x1961180 of class NSEvent autoreleased with no pool in place - just leaking
warnings during run-time and have no idea what the cause is. Cursory Googles indicate that this is a symbol I can break on with Xcode, but adding it as a symbolic breakpoint via Run>Manage Breakp...
I've the following function:
function Cache($key, $value = null, $ttl = 60)
{
if (isset($value) === true)
{
apc_store($key, $value, intval($ttl));
}
return apc_fetch($key);
}
And I'm testing it using the following code:
Cache('ktime', time(), 3); // Store
sleep(1);
var_dump(Cache('ktime') . '-' . time()); ec...
I use new Eclipse. Create demo test with jUnit (I added default jUnit library built-in Eclipse). Then I write this code:
import junit.framework.*;
import org.junit.Test;
public class SimpleTest extends TestCase {
public SimpleTest(String name) {
super(name);
}
public final void main(String method){
}
@Test
...