Hi there, i run a C++ app from objective-c
I can successfully symbolicate my function names using Shark profiler but not with the Object Allocations instrument.à
In the detailed pane, i only see my C++ app name with the hexadecimal value for my C++ functions.
I tried to do a "File/Re-Symbolicate Document", selecting my app folder containing both my app and my Dsym file but nothing change.
Any clues?
My config:
xCode 3.2.2
iPhonoe SDK 3.2
Snowleopard (10.6.3)
Thx.
This is regarding SQL server 2008 management studio..
I connect to different environment DB and every time I launch the Sql management console, I have to sign up every time to get those connections back in object explorer. Is there a way I could persist the connection so I don't have to login every time to different environments?
Hi,
I am looking for how to write a method that accepts some value and returns a proxy to that value where the underlying value can be retrieved with an accessor:
def p = toProxy(1)
assert p == 1
assert p * 2 == 2
assert p.underlying == 1
def p2 = toProxy(objWithMethodFoo)
p2.foo()
p2.underlying.foo()
I want to do this per object instance (not for all objects of some class) and without the need to use special 'use' constructs.
Do you know of any good doc on Excel PivotTables object model ?
I have read "Excel 2007 Programmers reference", googled a bit, and found small bits here and there, but nothing global, coherent and complete.
Preferably for version < 2007, so I keep upwards compatibility when developing.
Thanks !
Hi,
I'm xml-serializing a object with a large number of properties and I have two properties with DateTime types. I'd like to format the dates for the serialized output. I don't really want to implement the ISerializable interface and overwrite the serialization for every property. Is there any other way to achieve this?
(I'm using C#, .NET 2)
Thanks.
I have a number of classes that are decorated with DebuggerDisplayAttribute.
I want to be able to add trace statements to Unit Tests that will display instances of these classes.
Does there exist a method in the .NET Framework that will display an object formatted using DebuggerDisplayAttribute (or fall back to using .ToString() if no DebuggerDisplayAttribute is defined)?
I would like to know the options to manipulate the Excel spreadsheets using ASP.NET 2.0 without using Excel object as web server does not have MS Office installed.
Hi,
I am using a third party library that provide some callbacks for a widget, but I'm not sure what the callback parameter objects are (no docs on them).
Is there a way to just dump all the attributes of an object in javascript, then print them using alert(), maybe? I just want to see what methods and attributes they contain,
Thanks
I am using the DataTables plugin for jQuery and need to get one of the table rows. DataTables has a fnGetNodes function that returns an Array with all of the DOMElements of the table. I would like to use a jQuery selector to find that row (I know the id of the row), but I need to convert the Array to a jQuery Object, is this possible?
Perhaps I'm just not using the right Google-age. But I am trying to remember what the term is for when you return the object from one of it members to enable you to do something similar:
class obj {
obj function method()
{
return this
}
}
obj->method()->method()->method()->method()
I used to know this but it has totally escaped me.
I've got a simple active record validation on an object using this within a form:
form.error_messages({:message => '', :header_message => ''})
This in turn outputs something like "FieldName My Custom message"
What i need to do is remove the field name from the error message but leave my custom message.
Can anyone point me in the right direction for this.
hi,
I'm using a Repeater object in Flex. Would be possible to stop the repeater after 50 iterations.. even if my dataProvider is bigger ?
I want to display only the first 50 items. I'm using MXML to implement the repeater.
thanks
var user = {};
now I want to create a setUsers method that takes a key/value pair object and initializes the user variable.
setUsers = function(data) {
// loop and init user
}
where data is like:
234: "john", 23421: "smith", ....
is there a way that if the following class is created; I can grab a list of attributes that exist. (this class is just an bland example, it is not my task at hand)
class new_class():
def __init__(self, number):
self.multi = int(number) * 2
self.str = str(number)
a = new_class(2)
print(', '.join(a.SOMETHING))
* the attempt is that "multi, str" will print. the point here is that if a class object has attributes added at different parts of a script that I can grab a quick listing of the attributes which are defined.
So after a few hours of workaround the limitation of Reflection being currently disabled on the Google App Engine, I was wondering if someone could help me understand why object reflection can be a threat. Is it because I can inspect the private variables of a class or are there any other deeper reasons?
I am creating an AIR application which downloads file from a server. I am using URLstream object with complete, progress, IOError, security error and HTTP status events. I am not getting an event if the network is disconnected when the download is in progress. Please can anyone tell me which event is dispatched?
Thanks,
Anahas
Hi,
is there a way - much like the way i can see the result of preprocessing when using 'gcc -E' - to see what my objects look like once the compiler compiled them into object files?
I am not too good in reading assembler, so an advice to get the results as text would be nice .. or at least a little 'howto read the constructor intructions' or 'howto find the constructor' ...
I am talking about gcc/g++, but a solution including msvc would be fine.
Thanks!
Hi
i want to show messageBox or notification when connection lost in Static DB class but i cant use getApplicationContext() becouse its a static class and i tried to call other class called notification but i have error so how i could pass activity object to my new class .
I've built an API using actionwebservice and when a client calls a method to pass in an empty string (""), it's to_s value is # instead of "". But when the client passes in "hello", it's to_s value is "hello".
class UsersApiController < ApiController
web_service_api UserApi
def create_or_update(arg1)
Rails.logger.info arg1.to_s # Displays "#<SOAP::Mapping::Object:0x3a89c08>" if arg1 is an empty string
end
end
Hi,
I have an NSXmlDocument object which is constructed from an XML file. How can i serialize
the said document. I have seen NSPropertyListSerialization class, but could not use as it is
not plist file.