is it possible to read the datatype of a vector?
var vec:Vector.<int> = new Vector.<int>;
trace(the datatype of vec);
//ideally this would output 'int'
Dear All,
I want all of you help to create file log for tracing user transaction. I want to do that when a user wants to update or add some information, I want to trace which information that user was updated.
The tracing file that I want is easy read and search. Even, it is in text file or xml file.
Thanks,
Sopolin
During a make, I'm seeing an error along the lines of:
cc1: warnings being treated as errors
somefile.c:200: error: the frame size of 1032 bytes is larger than 1024 bytes
The line number points to the closing brace of a c function that has a signature like this:
void trace(SomeEnum1 p1, SomeEnum2 p2, char* format, ...) {
Anyone know what this type of error means in general?
Hi all,
I am using Visual C++ 6.0. I have a static library containing a set of C functions. To create the .lib file, I need .obj of some .C files. Some such files are contained within the same static library project but some are to be stored in some othr project due to separate flags, etc.
How can I include those .objs to create this library file..?
I am compiling an IPhone application via command line (so no XCode options involved) and I am unable to get my symbol names to show when profiling with Instruments. I have tried several flags such as -gdawrf-2 and -g without any success. I have also tried using dsymutils to generate a .dSYM file but i have no clue how I'm supposed to use it so that failed aswell.
Any help will be greatly appreciated!
Hi guys, i have a program that needs command line arguments in the form :
./my_program -m256M -tm -t some_other_file
The "some_other_file" argument is not bound to -t (-t it's just another functionality) so i can't take it as the optarg of any of the flags, neither can i assume it is the last argument in the list.
How can i do this?
Thanks
How can I send trace messages to the console (like print) when I'm running my Django app under manage.py runserver, but have those messages sent to a log file when I'm running the app under Apache?
I reviewed Django logging and although I was impressed with its flexibility and configurability for advanced uses, I'm still stumped with how to handle my simple use-case.
My apologies for not being able to find the answer elsewhere-- this is a newbie question I know.
I've been encountering a seeming deadlock with one of my tables and the only place I can trace it back to is a stored procedure that uses sp_xml_preparedocument on a list of data. The data inserted, btw, consists of a 100k+ records on average. Is it possible that it is causing the deadlock? What other pitfalls does using sp_xml_preparedocument have?
Hi, I need to profile a large SQL query (in a particular database, not the whole server), and I cant figure out how to setup the profiler. I tried reading MSDN SQL web site, but it has not helped.
I am stuck at the Trace Properties "Events Selection" window. I need help as to which items to select in "Events Selection" window.
Thanks
How to trace the Memory Leaks in Android Development? I am working on eclipse IDE to develop the application. i cant find out how to rectify the memory or window Leaks Exceptions? Any Idea.
Mainly the Window Leaked error raises the Illegal Argument Exception? how to rectify both og this. Please Help.
i would like to update the numbers i've added to an array from variables, when those variables change. is it possible change these variables and have the array update automatically?
var first:Number = 1;
var second:Number = 2;
var myArray:Array = new Array(first, second);
first = 3;
second = 4;
trace(myArray) //outputs 1,2
i would like to update the numbers i've added to an array from variables, when those variables change. is it possible change these variables and have the array update automatically?
var first:Number = 1;
var second:Number = 2;
var myArray:Array = new Array(first, second);
first = 3;
second = 4;
trace(myArray) //outputs 1,2
I'm looking for a good multi-thread-aware debugger, capable of showing performance charts of application threads on Linux, don't know if such a thing exists, perhaps as a Eclipse plugin.
The idea would be to track per thread memory allocation a CPU usage as well as being able to interrupt a thread and examine its stack trace, local vars, etc.
It does not have to be an eclipse plugin or a free tool, do any of you have heard of something similar?
Does anyone knows if it is possible to define/declare on your own custom attribute a restriction to the field type it may apply on?
There are a flags that do restrict the usage of the attribute:
[AttributeUsage(
AttributeTargets.Property,
AllowMultiple = false)]
Im looking for something like:
UseOnlyOnType = typeof(string)
Any ideas?
before answer me plz thinking about the futures of these kind of program and answer me plz.
I wanna get some data from oracle server like:
1-get all the function,package,procedure and etc for showing them or drop them & etc...
2-compile my *.sql files,get the result if they have problem & etc...
becuz I was beginner in oracle first of all I for solve the second problem I try to connect to sqlPlus by RUN sqlplus and trace the output(I mean,I change the output stream of shell and trace what happend and handle the assigned message to customer. NOW THIS PART SUCCEED. just a little bit I have problem with get all result because the output is asynchronous.any way...
[in this case I log in to oracle Server by send argument to the sqlplus by make a process in c#]
after that I try to get all function,package or procedure name,but I have problem in speed!so I try to use oracle.DataAccess.dll to connect the database.
now I m so confusing about:
which way is correct way to build a program that work like Oracle Developer!
I do not have any experience for like these program how work.
If Your answer is I must use the second way follow this part plz:
I search a little bit the Golden,PLedit (Benthic software),I have little bit problem how I must create the connection string?because I thinking about how I can find the host name or port number that oracle work on them?? am I need read the TNSNames.Ora file?
IF your answer is I must use the first way follow this part plz:
do u have any Idea for how I parse the output?because for example the result of a table is so confusing...[i can handle & program it but I really need someone experience,because the important things to me learn how such software work so nice and with quick response?] All of the has different style in output...
If you are not sure Can u help me which book can help me in this way i become expert?
becuz for example all the C# write just about how u can connect to DB and the DB books write how u can use this DB program,I looking for a book that give me some Idea how develop an interface for do transaction between these two.not simple send and receive data,for example how write a compiler for them.
the language of book is not different for me i know C#,java,VB,sql,Oracle
Thanks.
I need to build Boost with a non-standard set of flags (due to a conflict between Boost threading and C++/CLI). I'm adding the required flag (/clr) using CXXFLAGS, but this flag conflicts with the Boost default /EHs flag (/clr implies /EHa which is incompatible with /EHs), so that needs to be suppressed. Is there a mechanism like CXXFLAGS to suppress a default Boost flag or must I edit all of the compiler specification files by hand?
I am using a D2k 6i form and getting the error on form throught stored database(oracle9i) procedure ORA-00001 Unique constraint but i m not able to trace out from where it is coming
can anybody help me regarding this
Hi,
anyone has tried to create a symfony form filter from a class which has a field of type "date" ?
When i do it, i get this error:
500 | Internal Server Error |
Doctrine_Connection_Mysql_Exception
SQLSTATE[HY093]: Invalid parameter
number: number of bound variables does
not match number of tokens stack trace
I think the error dependens on this command:
'SELECT b.id AS b_id, b.day AS b_day FROM birthday b WHERE b.day = ? AND
b.day <= ?', array('month' = '1','day' = '2', 'year' = '2014')
but i dont know how can i solve it..
Any idea?
Javi
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)?
Hi, I'm running Appverifier in an application. When it detects a memory leaks the logs saids
"Address of the leaked allocation. Run !heap -p -a to get additional information about the allocation."
I guess that's when you are running in Windbg, is there any way to access the allocation stack trace from inside Visual Studio ?
I cant seem to send an email using PHP's mail(). I have also tried PHPMailer and Swiftmail with no success. However, the following command on the server delivers mail successfully.
cat test.txt | mail -s "test mail" [email protected]
Is there a way to trace where the problem is coming from? mail() just seems to return true or false.
When an external JavaScript file is referenced,
<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
is the JavaScript source (lines of code before interpretation) available from the DOM or window context in the current HTML page? I mean by using only standard JavaScript without any installed components or tools.
I know tools like Firebug trace into external source but it's installed on the platform and likely has special ability outside the context of the browser sandbox.
right, so i just tossed this super simple code example into a Flash CS4 IDE frame script, but it doesn't output anything in the console. i'm simply rolling over my mouse over the window, not clicking anything, and nothing is happening. wtf?!
stage.addEventListener(Event.MOUSE_LEAVE, traceMouse);
function traceMouse(Evt:Event):void
{
trace("Mouse Left Stage");
}
I'm looking for a way that I can take say, a 200x200 pixel image and center it over a background that's 500x500 pixels. The background should be the color of the top-left corner of the 200x200 pixel image.
I get the -gravity and -fill flags, but I'm having trouble finding a way to grab that top-left corners color to pass to the -fill flag.