摘要:
Although a software developer writing software for a mobile device typically performs the development and some of the debugging of the application on a software development computer, the application also has to be debugged as it passes through the deactivate, terminate and reactivate states as it executes on the mobile device. To debug an application the developer can launch the debugger on the software development computer. The debugger can launch the application on the mobile device. If an event that terminates the application occurs, the debugger connection is terminated. In accordance with aspects of the subject matter disclosed herein, the debugger is automatically reattached to the restarted (activated) application. Reattaching the debugger automatically to the restarted application allows the developer to debug the mobile device application as an application passing through multiple states rather than debugging multiple instances of an application.
摘要:
Although a software developer writing software for a mobile device typically performs the development and some of the debugging of the application on a software development computer, the application also has to be debugged as it passes through the deactivate, terminate and reactivate states as it executes on the mobile device. To debug an application the developer can launch the debugger on the software development computer. The debugger can launch the application on the mobile device. If an event that terminates the application occurs, the debugger connection is terminated. In accordance with aspects of the subject matter disclosed herein, the debugger is automatically reattached to the restarted (activated) application. Reattaching the debugger automatically to the restarted application allows the developer to debug the mobile device application as an application passing through multiple states rather than debugging multiple instances of an application.
摘要:
An exemplary method includes parsing metadata associated with at least a portion of source code to construct a truncated parse tree; selecting a segment of the truncated parse tree; parsing metadata associated with the selected segment to construct one or more additional parse tree branches; and analyzing the truncated parse tree and the one or more additional parse tree branches. Such an exemplary method optionally includes generating code based, at least in part, on the analyzing and/or optionally includes purging or overwriting memory associated with the one or more additional parse tree branches. Other exemplary methods, devices and/or systems are also disclosed.
摘要:
Multiple software facilities are described. A property mapping facility enables a programming language compiler to map properties defined according to one property accessor style to another property accessor style. A reference mapping facility enables a programming language compiler to emit instructions that cause a parameter to a method to be provided by reference even when the programming language does not support providing parameters by reference. A type extension facility enables a programming language compiler to extend the number of declarative type modifiers that the compiler supports. A partial class facility enables a programming language compiler to postpone compiling a class marked as partial until the compiler can compile the entire class. A value type facility enables a programming language compiler to recognize “value data types” that offer advantages of both reference data types and primitive data types.
摘要:
An exemplary upgrade module includes an upgrade wizard component, an upgrade analyzer component, and a source analyzer component wherein the upgrade wizard component operates in conjunction with an IDE to facilitate migration of source code or a project to the IDE or a runtime engine and/or OS associated with the IDE. An exemplary method includes selecting a source code or project written in a programming language associated with a native compiler that targets a native runtime engine, analyzing the code or project and then upgrading the code or project based on the analyzing such that the resulting upgraded code or project can compile on a foreign compiler and target a foreign runtime engine. According to such an exemplary method, the upgrade or migration optionally occurs without modifying the selected source code. Other exemplary methods, devices and/or systems are also disclosed.
摘要:
To enhance portability of programming languages and compiled codes, methods and/or devices optionally compile a programming language code associated with one framework to a code associated with another framework and/or convert a code associated with one framework to a code associated with another framework. The aforementioned converters and/or methods include, but are not limited to, features for supporting framework differences in object hierarchy, exceptions, type characteristics, reflection transparency, and/or scoping.
摘要:
A system and method are provided for encoding data in accordance with the present invention. The system includes a first subsystem for encoding a second data protocol within a formatted data protocol without disrupting display operations associated with the first data protocol. An encapsulation sequence is provided to isolate the second data protocol from the formatted data protocol, wherein a monitoring subsystem receives status from the first subsystem via the second data protocol.
摘要:
A program can include declarative programming elements corresponding to elements of an actual state data structure. Data can be collected while the program is running. The collected data can include resource cost data from different runtime subsystems. A model state data structure, which can represent a data structure that could have produced the resource cost data, can be constructed from the collected data. A correlation data structure can be generated using the model state data structure. The correlation data structure can correlate the resource cost data from the different runtime subsystems and can attribute units of the resource cost data to the programming elements. At least a portion of the cost data can be analyzed with different analyzers using the correlation data structure. Additionally, analysis results from the different analyzers for the resource cost data can be composed together.
摘要:
Intermediate code is executable on a virtual machine. Hence, source code that is compiled on a first computing device can be distributed to a second computing device in an intermediate form as long as the second computing device has the appropriate virtual machine. In this way, the compilation can be done without regard to the underlying native processor on the second computing device. However, the intermediate code loses the original type information defined in the source code. By determining the variable types in the intermediate code, the intermediate code can be converted to a different intermediate language.
摘要:
A system and method are provided for encoding data in accordance with the present invention. The system includes a first subsystem for encoding a second data protocol within a formatted data protocol without disrupting display operations associated with the first data protocol. An encapsulation sequence is provided to isolate the second data protocol from the formatted data protocol, wherein a monitoring subsystem receives status from the first subsystem via the second data protocol.