Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CppMain (0.3 sec)

  1. src/runtime/debug/example_monitor_test.go

    	//
    	//    $ go test -run=ExampleSetCrashOutput_monitor runtime/debug
    	//    panic: oops
    	//    ...stack...
    	//    monitor: saved crash report at /tmp/10804884239807998216.crash
    }
    
    // appmain represents the 'main' function of your application.
    func appmain() {
    	monitor()
    
    	// Run the application.
    	println("hello")
    	panic("oops")
    }
    
    // monitor starts the monitor process, which performs automated
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 15:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/api/tasks/JavaExecMainClassIntegrationTest.groovy

            then:
            outputContains 'it works!'
            configurationCache.assertStateStored()
    
            when:
            originalMain.delete()
            writeMainClass 'AppMain', 'it certainly does!'
            succeeds 'run', '--configuration-cache'
    
            then:
            outputContains 'it certainly does!'
            configurationCache.assertStateLoaded()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 28 23:38:57 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top