I'd like to display the contents of the property myarray, from the following singleton:
[Session sharedManager].myarray
I've tried these:
po [Session sharedManager]. myarray
po [[Session sharedManager] myarray]
but always get this error:
A syntax error near end of expression.
Any suggestions?
--- EDIT ---
I'm working with SDK...
I need something that can generate a PDB from a DLL file (C# .NET code), is there any free program to do that?
...
I'm having some trouble stepping over in GDB. I've built an example program from the ffmpeg library with debug symbols on and stripping off. Although I configured the ffmpeg library to static and explicitly disabled shared, it looks like the program I'm debugging is linking dynamically, since its file size is only 99kB. I don't know t...
Is it possible to skip a statement in Eclipse while debugging? Suppose the process stopped at breakpoint and I want to skip the breakpoint line ( or maybe a few lines below), can I do it? On the debug tab, it only has "Step into", "Step over" and "Step return" buttons.
I did google around but couldn't find anything, hopefully I can find...
Possible Duplicate:
How can I get the name of function inside a JavaScript function?
The title should make it clear.
Is it possible from within a function to determine the name of that function?
Basically, I'm adding some debugging code to a number of functions, and I'd like to be able to simply add the following line inside...
I want to give the URL on my localhost, set POST variables and debug it and go... How to do this?
...
I need to print out an easy to read object graph from Visual Studio because I need to show a customer the state of an object at runtime.
Are there any debug visualizers for this? Expanding everything in a quick watch window isn't easy enough for the customer to comprehend.
...
Using Visual Studio 2010 Professional, I have a ToString() method that looks like this:
public override string ToString()
{
return "something" + "\n" + "something";
}
Because there are several "something"'s and each is long, I'd like to see
something
something
Sadly, I'm seeing
"something\nsomething"
Is there a way to get wh...
I know that "bash -x script.sh" will execute script printing each line before actual execution.
How to make perl and python interpreters do the same?
...
I need to debug a winCE application over the ethernet using Visual Studio 2005. I
have connected to the device over the ethernet and now need to run
conmanclient2.exe and cmaccept.exe before I can start debugging.
However, I don't know how to copy these files over the ethernet.
Please guide me.
Thankyou!
...
I would like a utility that would allow me to send/receive tcp and udp messages as a client or server, assemble packets, set responses, etc... Preferably on Windows. Please let me know if you've seen anything like this. THANKS!
...
I'm working on a VS2010 project where I'm using DataAnnotations on my objects to handle validation. However, this is sort of a pain in the butt while trying to do interactive debugging because it keeps pausing VS.Net on validation errors.
Obviously, I want to break on some errors, but not these particular types. Am I out of luck and I...
How do we determine where the mistake is in our code that causes a segmentation fault?
After writing some code, to determine where I have a segmentation fault, can gcc show me my have a mistake (or typing error) in a particular line number -- because that line caused the segmentation fault?
...
I'm using windbg (the latest available from the MSDN download page).
I'm trying to debug a deadlock in my app, and !locks would be very useful. However, it's not working:
0:023> !locks NTSDEXTS: Unable to resolve ntdll!RTL_CRITICAL_SECTION_DEBUG type
NTSDEXTS: Please check your symbols
I don't know why it's upset. I've got symbols ...
Just wondering if there is any easy way to start a debugging session that lauches the server and the client by simply pressing F5.
As it stands I have to F5 to debug the server, then find the client project and right click->Debug, which is a bit fiddly.
Any tips to get this to work more smoothly?
...
So I'm writing a fairly involved query with a half dozen joins, a dependent subquery for [greatest-n-per-group] purposes, grouping, etc. It is syntactically valid, but I've clearly made at least one mistake because it returns nothing.
In the past I've debugged valid queries that return nothing by removing joins, executing subqueries on...
I've always followed the logic: if assert fails, then there is a bug. Root cause could either be:
Assert itself is invalid (bug)
There is a programming error (bug)
(no other options)
I.E. Are there any other conclusions one could come to? Are there cases where an assert would fail and there is no bug?
...
I'm using Firefox as my default browser and I'm trying to debug java script in side asp.net page visual studio 2008 with Firefox browser.
how to enable script debugging in visual studio 2008 when using Firefox?
by the way, I installed JavaScript Debugger plug-in for Firefox.
...
I get error message "Unable to start debugging on the web server" in Visual Studio 2010. I clicked the Help button and followed the related suggestions without success.
This happens with a newly created local ASP.Net project when modified to use IIS instead of Cassini (which works for debugging). It prompts to set debug="true" in the we...
Hi, I am looking for a way to debug what a jquery selector returns/selected.
I tried to use toString() but that only returns [object Object].
What I am actually trying to do is to attach a callback to radio buttons. And on click
on one of the buttons I want to submit the enclosing form.
Therefore I try to do something like this:
...