Questions tagged [runtime]

Runtime is the time during which a program is running (executing)

In computer science, run time, run-time, runtime, or execution time is the time during which a program is running (executing), in contrast to other phases of a program's lifecycle such as compile time, link time, load time, etc.

A run-time error is detected after or during the execution of a program, whereas a compile-time error is detected by the compiler before the program is ever executed. Type checking, storage allocation, code generation, and code optimization are typically done at compile time, but may be done at run time depending on the particular language and compiler.

Related

7799 questions
2
votes
0 answers

g._defer.fn cannot affect g._defer in runtime.gopanic?

I am confused about this part of runtime.gopanic. Below is my test golang code and its plan9 compilation. package main func main() { a := func() { b := func() { recover() } defer b() } defer a() …
spin
  • 47
  • 4
2
votes
2 answers

How to read the AssemblyID of an Assembly DLL using the .Net Runtime Library for Delphi?

I need to create a function that allows me to read the AssemblyID directly from the Assembly DLL. I need this to register generically different assembly: TClrAssembly.RegisterDLLAssembly(AssemblyGuid, AssemblyLocation, ltfileLocation);…
user20518651
2
votes
1 answer

How can I get Jacoco coverage Report per Request

I am using jacoco agent to generate my coverage reports in the form of xml files by running the command: java -jar /sample_projects/beta/jacoco-code-coverage/jacoco-code-coverage-example/src/main/resources/lib/jacococli.jar report…
2
votes
1 answer

How can I get a goroutine's runtime ID?

How can I get a goroutine's runtime ID? I'm getting interleaved logs from an imported package - one approach would be to add a unique identifier to the logs of each goroutine. I've found some references to runtime.GoID: func worker() { id :=…
hitzoglin
  • 83
  • 1
  • 6
2
votes
1 answer

App crashes where Microsoft 365 installed

A C++ app crashes (only on our develop pc's where we have also VisualStudio, in all others works fine) after few second from startup. If we run it on debug we an Kernelbase.dll Module not found exception, last call at MSO.DLL!__delayLoadHelper2().…
RongAle
  • 31
  • 4
2
votes
1 answer

INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI

Following error appearing while installing app on emulator. '''Failed to commit install session 27757417 with command package install-commit 27757417. Error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI:…
2
votes
3 answers

How can I get the class object, when I only know the classname at runtime

I need to get the class object out of a string, containing the name of the class at runtime. I found a function called objc_getClass, but I'm not sure if it's really what I search. Can I implement it like this? NSString *name = @"AnyClass"; Class…
Enyra
2
votes
0 answers

Switch language at runtime on a multilanguage site using python-i18n

I have created a multi-language DASH app via python-i18n and yml files as described by Arjan in: https://www.youtube.com/watch?v=L_KlPZ5qBOU The intention is to translate the text (headers, labels, etc) in the app and allow the user to change the…
SilverPy
  • 53
  • 5
2
votes
4 answers

Set array's rank at runtime

I have written a program which reads a file containing multidimensional data (most commonly 3D, but 2D could occur as well). To heighten simplicity I would like to store the data in an array of the same rank (or something pretending to be one), i.e.…
canavanin
  • 2,559
  • 3
  • 25
  • 36
2
votes
1 answer

System.ArgumentException: 'The path must be absolute. (Parameter 'root')'

One day after pulling commits from upstream and run the C# solution (projects) I got this error message in the title. The compilation was successful completely but at run time I got this error see attachment.
Dung
  • 19,199
  • 9
  • 59
  • 54
2
votes
2 answers

PHP: Printing out status messages during runtime

I'm developing a long running php script that compiles scraped information from multiple sources, organizes them, and caches them in a database. As this script has a very high runtime, I'd like to print out runtime status reports in order to track…
Korvin Szanto
  • 4,531
  • 4
  • 19
  • 49
2
votes
1 answer

Is there a way to make this algorithm faster

I have a assignment for one of my algorithms class that requires us to create an algorithm that takes an array of positive integer values and splits them into 3 separate groups with highest sum of the 3 groups being as low as possible. i.e: input:…
Biwerg
  • 21
  • 1
2
votes
1 answer

Failed to create a default .NET runtime which would have been "netfx" on this system

I am trying run a python script that is importing clr as below: import clr But i am getting the following error while executing the python scripts: Failed to create a default .NET runtime which would have been "netfx" on this system. Either install…
Sada
  • 29
  • 4
2
votes
3 answers

Objective-C runtime code generation

I want to create an Objective-C application which lets you specify a class implementation at runtime. I want the user to type some code (correctness of the code is out of scope for now). When the user is done i want to create a class of the typed…
Mats Stijlaart
  • 5,058
  • 7
  • 42
  • 58
2
votes
2 answers

Amazon AWS S3 autoDeleteObjects lambda

Could you please help me understand how to specify the nodejs runtime version of the lambda function that gets automatically created by aws when a new data bucket with parameter autoDeleteObjects: true is created? I am using the following piece of…