Home
last modified time | relevance | path

Searched full:debug (Results 1 – 25 of 1109) sorted by relevance

12345678910>>...45

/arkcompiler/ets_frontend/merge_abc/src/
DassemblyDebugProto.cpp19 void DebuginfoIns::Serialize(const panda::pandasm::debuginfo::Ins &debug, protoPanda::DebuginfoIns … in Serialize() argument
21 protoDebug.set_linenumber(debug.line_number); in Serialize()
22 protoDebug.set_columnnumber(debug.column_number); in Serialize()
25 …Ins::Deserialize(const protoPanda::DebuginfoIns &protoDebug, panda::pandasm::debuginfo::Ins &debug) in Deserialize() argument
27 debug.line_number = protoDebug.linenumber(); in Deserialize()
28 debug.column_number = protoDebug.columnnumber(); in Deserialize()
31 void LocalVariable::Serialize(const panda::pandasm::debuginfo::LocalVariable &debug, in Serialize() argument
34 protoDebug.set_name(debug.name); in Serialize()
35 protoDebug.set_signature(debug.signature); in Serialize()
36 protoDebug.set_signaturetype(debug.signature_type); in Serialize()
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_func_tests/std/core/
DConsoleDebugTest.ets48 // Basic debug messages
49 console.debug("Debug message");
50 console.debug(42);
51 console.debug(undefined);
52 console.debug(null);
53 console.debug()
56 console.debug("Debug:", "Database connection established");
57 console.debug("Query params:", new QueryParams(1, "active"));
59 // Debug with objects
62 "debug",
[all …]
/arkcompiler/toolchain/tooling/dynamic/client/ark_multi/
DReadMe_Zh.md25 python3 ark.py x64.debug test262
31 LD_LIBRARY_PATH=out/x64.debug/arkcompiler/ets_runtime/:out/x64.debug/thirdparty/bounds_checking_fun…
38 LD_LIBRARY_PATH=out/x64.debug/arkcompiler/ets_runtime/:out/x64.debug/thirdparty/bounds_checking_fun…
DReadMe.md45 python3 ark.py x64.debug test262
56 LD_LIBRARY_PATH=out/x64.debug/arkcompiler/ets_runtime/:out/x64.debug/thirdparty/bounds_checking_fun…
69 LD_LIBRARY_PATH=out/x64.debug/arkcompiler/ets_runtime/:out/x64.debug/thirdparty/bounds_checking_fun…
/arkcompiler/runtime_core/static_core/verification/config/handlers/
Dconfig_handler_options.cpp38 namespace ark::verifier::debug { namespace
109 {{"context", BoolField {offsetof(VerificationOptions, debug.show.context)}}, in RegisterConfigHandlerOptions()
110 {"reg-changes", BoolField {offsetof(VerificationOptions, debug.show.regChanges)}}, in RegisterConfigHandlerOptions()
111 {"typesystem", BoolField {offsetof(VerificationOptions, debug.show.typeSystem)}}, in RegisterConfigHandlerOptions()
114 … {{"undefined-class", BoolField {offsetof(VerificationOptions, debug.allow.undefinedClass)}}, in RegisterConfigHandlerOptions()
115 … {"undefined-method", BoolField {offsetof(VerificationOptions, debug.allow.undefinedMethod)}}, in RegisterConfigHandlerOptions()
116 … {"undefined-field", BoolField {offsetof(VerificationOptions, debug.allow.undefinedField)}}, in RegisterConfigHandlerOptions()
117 … {"undefined-type", BoolField {offsetof(VerificationOptions, debug.allow.undefinedType)}}, in RegisterConfigHandlerOptions()
118 … {"undefined-string", BoolField {offsetof(VerificationOptions, debug.allow.undefinedString)}}, in RegisterConfigHandlerOptions()
119 …{"method-access-violation", BoolField {offsetof(VerificationOptions, debug.allow.methodAccessViola… in RegisterConfigHandlerOptions()
[all …]
/arkcompiler/runtime_core/libabckit/doc/
Dhow_to_build_and_test.md26 # Debug mode
27 ./ark.py x64.debug abckit_packages --gn-args="is_standard_system=true abckit_enable=true"
34 # Debug mode
35 ./ark.py mingw_x86_64.debug abckit_packages --gn-args="is_standard_system=true abckit_enable=true"
50 NOTE: Replace ${target} with build target: x64.debug, x64.release, mingw\_x86\_64.debug or mingw\_x…
55 # Debug mode
56 ./ark.py x64.debug abckit_tests --gn-args="is_standard_system=true abckit_enable=true"
64 # Debug mode
65 ./ark.py x64.debug abckit_tests --gn-args="is_standard_system=true abckit_enable=true libabckit_wit…
109 Remove out, build AbcKit, execute format, tidy, unit-tests and stress tests in debug and release mo…
[all …]
/arkcompiler/runtime_core/docs/
Ddebugger-vscode-communication.md4 …ugger-port=<port_number> --debugger-library-path=<path_to_debugger_library>` launches debug server
10 ### Description of debug starting process
14 * Secondly server accepts a real client and debug session begins
18 * It's critical for VSCode to have a debug server initialized at allocated time so we establish a t…
19 * We create a test client every 100 milliseconds to check is socket ready for a debug session
21 * If connection was not established at the allocated time the `Can not launch debug server` error w…
/arkcompiler/runtime_core/panda_guard/configs/
Dguard_args_parser.cpp24 PandArg<bool> debug("debug", false, in Parse() local
25 … "enable debug messages (will be printed to standard output if no --debug-file was specified)"); in Parse()
26 PandArg<std::string> debugFile("debug-file", "", in Parse()
27 … "(--debug-file FILENAME) set debug file name. default is std::cout"); in Parse()
32 parser.Add(&debug); in Parse()
46 if (debug.GetValue()) { in Parse()
49 Logger::InitializeStdLogging(Logger::Level::DEBUG, component_mask); in Parse()
51 … Logger::InitializeFileLogging(debugFile.GetValue(), Logger::Level::DEBUG, component_mask); in Parse()
/arkcompiler/runtime_core/disassembler/
Ddisasm.cpp34 LOG(DEBUG, DISASSEMBLER) << "[initializing disassembler]\nfile: " << input_file << "\n"; in Disassemble()
42 LOG(DEBUG, DISASSEMBLER) << "[serializing results]\n"; in Disassemble()
51 const panda::PandArg<std::string> &output_file, panda::PandArg<bool> &debug, in ProcessArgs() argument
73 if (debug.GetValue()) { in ProcessArgs()
76 panda::Logger::Level::DEBUG, log_mask); in ProcessArgs()
79 debug_file.GetValue(), panda::Logger::Level::DEBUG, log_mask); in ProcessArgs()
96 panda::PandArg<bool> debug( in main() local
97 …"debug", false, "enable debug messages (will be printed to standard output if no --debug-file was … in main()
98 panda::PandArg<std::string> debug_file("debug-file", "", in main()
99 … "(--debug-file FILENAME) set debug file name. default is std::cout"); in main()
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/
Dhumongous_obj_allocator-inl.h32 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Initializing HumongousObjAllocator"; in HumongousObjAllocator()
33 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Initializing HumongousObjAllocator finished"; in HumongousObjAllocator()
39 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Destroying HumongousObjAllocator"; in ~HumongousObjAllocator()
40 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Destroying HumongousObjAllocator finished"; in ~HumongousObjAllocator()
48 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Try to allocate memory with size " << size; in Alloc()
53 … LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "The align is too big for this allocator. Return nullptr."; in Alloc()
66 … LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "The size is too big for this allocator. Return nullptr."; in Alloc()
73 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Find reserved memory block with size " << memHeader->GetPoo… in Alloc()
80 …LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Find free memory block with size " << memHeader->GetPoolSiz… in Alloc()
85 LOG_HUMONGOUS_OBJ_ALLOCATOR(DEBUG) << "Can't find memory for this size"; in Alloc()
[all …]
Drunslots_allocator-inl.h33 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Initializing RunSlotsAllocator"; in RunSlotsAllocator()
34 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Initializing RunSlotsAllocator finished"; in RunSlotsAllocator()
40 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Destroying RunSlotsAllocator"; in ~RunSlotsAllocator()
41 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Destroying RunSlotsAllocator finished"; in ~RunSlotsAllocator()
53 …LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Try to allocate " << size << " bytes of memory with align " << a… in Alloc()
55 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Failed to allocate - size of object is null"; in Alloc()
61 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Change size of allocation to " << alignmentSize in Alloc()
66 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Failed to allocate - size of object is too big"; in Alloc()
79 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "We don't have free RunSlots for size " << runSlotSize in Alloc()
90 LOG_RUNSLOTS_ALLOCATOR(DEBUG) << "Get RunSlots from free list"; in Alloc()
[all …]
Dframe_allocator-inl.h37 LOG_FRAME_ALLOCATOR(DEBUG) << "Initializing of FrameAllocator"; in FrameAllocator()
45 LOG_FRAME_ALLOCATOR(DEBUG) << "Initializing of FrameAllocator finished"; in FrameAllocator()
51 LOG_FRAME_ALLOCATOR(DEBUG) << "Destroying of FrameAllocator"; in ~FrameAllocator()
53 LOG_FRAME_ALLOCATOR(DEBUG) << "Free arena at addr " << std::hex << lastAllocArena_; in ~FrameAllocator()
59 LOG_FRAME_ALLOCATOR(DEBUG) << "Destroying of FrameAllocator finished"; in ~FrameAllocator()
67 LOG_FRAME_ALLOCATOR(DEBUG) << "Try to allocate a new arena with size " << arenaSize; in TryAllocateNewArena()
70 LOG_FRAME_ALLOCATOR(DEBUG) << "Couldn't get memory for a new arena"; in TryAllocateNewArena()
78 …LOG_FRAME_ALLOCATOR(DEBUG) << "Successfully allocate new arena with addr " << std::hex << newArena; in TryAllocateNewArena()
90 …LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate " << size << " bytes for a new frame in current aren… in Alloc()
92 LOG_FRAME_ALLOCATOR(DEBUG) << "Can't allocate a new arena, return nullptr"; in Alloc()
[all …]
/arkcompiler/ets_runtime/ecmascript/stackmap/llvm/
Dllvm_stackmap_type.h58 LOG_COMPILER(DEBUG) << TypeToString(location); in Print()
59 LOG_COMPILER(DEBUG) << ", size:" << std::dec << locationSize; in Print()
60 LOG_COMPILER(DEBUG) << "\tDwarfRegNum:" << dwarfRegNum; in Print()
61 LOG_COMPILER(DEBUG) << "\t OffsetOrSmallConstant:" << offsetOrSmallConstant; in Print()
126 LOG_COMPILER(DEBUG) << "----- head ----"; in Print()
127 LOG_COMPILER(DEBUG) << " version:" << static_cast<int>(stackmapversion); in Print()
128 LOG_COMPILER(DEBUG) << "+++++ head ++++"; in Print()
139 LOG_COMPILER(DEBUG) << " functionAddress:0x" << std::hex << functionAddress; in Print()
140 LOG_COMPILER(DEBUG) << " stackSize:0x" << std::hex << stackSize; in Print()
141 LOG_COMPILER(DEBUG) << " recordCount:" << std::hex << recordCount; in Print()
[all …]
/arkcompiler/runtime_core/panda_guard/tests/unittest/
Dguard_args_parser_test.cpp39 argv[1] = const_cast<char *>("--debug=");
48 …"--debug: enable debug messages (will be printed to standard output if no --debug-file was specifi…
49 "--debug-file: (--debug-file FILENAME) set debug file name. default is std::cout\n"
58 * @tc.desc: test panda_guard args parse with no debug file and config file args
69 argv[1] = const_cast<char *>("--debug");
70 argv[2] = const_cast<char *>("--debug-file");
/arkcompiler/runtime_core/abc2program/
Dabc2program_options.cpp23 panda::PandArg<bool> debug( in Parse() local
24 …"debug", false, "enable debug messages (will be printed to standard output if no --debug-file was … in Parse()
25 panda::PandArg<std::string> debug_file("debug-file", "", in Parse()
26 … "(--debug-file FILENAME) set debug file name. default is std::cout"); in Parse()
30 pa_parser_.Add(&debug); in Parse()
42 if (debug.GetValue()) { in Parse()
45 panda::Logger::Level::DEBUG, in Parse()
49 debug_file.GetValue(), panda::Logger::Level::DEBUG, in Parse()
/arkcompiler/runtime_core/static_core/plugins/ets/tests/ets_test_suite/gc/
DCMakeLists.txt98 add_ets_gc_test(FILE pin_object.ets OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" MODE …
100 add_ets_gc_test(FILE get_object_address_test.ets OPTIONS "--gc-trigger-type=debug-never" "--profile…
101 add_ets_gc_test(FILE space_type_test.ets OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-never" …
103 …S "--gc-type=g1-gc" "--run-gc-in-place" "--max-free=1" "--gc-trigger-type=debug-never" "--profiles…
104 add_ets_gc_test(FILE concurrent_start_gc.ets OPTIONS "--gc-type=g1-gc" "--gc-trigger-type=debug-nev…
105 …_test.ets OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
106 …_test.ets OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
107 …coros.ets OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
109 …orkers-count=10" "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" "--profiles…
111 …_test.ets OPTIONS "--gc-type=g1-gc" "--run-gc-in-place" "--gc-trigger-type=debug-never" MODE "INT")
[all …]
/arkcompiler/runtime_core/static_core/verification/config/
Dconfig_load.cpp38 ark::verifier::debug::RegisterConfigHandlerBreakpoints(cfg); in ProcessConfigFile()
39 ark::verifier::debug::RegisterConfigHandlerWhitelist(cfg); in ProcessConfigFile()
40 ark::verifier::debug::RegisterConfigHandlerOptions(cfg); in ProcessConfigFile()
41 ark::verifier::debug::RegisterConfigHandlerMethodOptions(cfg); in ProcessConfigFile()
42 ark::verifier::debug::RegisterConfigHandlerMethodGroups(cfg); in ProcessConfigFile()
49 LOG(DEBUG, VERIFIER) << "Verifier debug configuration: \n" << section.Image(); in ProcessConfigFile()
50 ark::verifier::debug::SetDefaultMethodOptions(cfg); in ProcessConfigFile()
95 LOG(DEBUG, VERIFIER) << "Failed to load verifier debug config file '" << filename << "'"; in LoadConfig()
/arkcompiler/runtime_core/static_core/scripts/
Dinstall-llvm-prebuilts24 …ARK_VERSION:?}-debug-aarch64.tar.xz -q https://repo.huaweicloud.com/harmonyos/compiler/clang/${ARK…
25 mkdir -p /opt/llvm-15-debug-aarch64 && \
26 …_ARK_VERSION:?}-debug-x86_64.tar.xz -q https://repo.huaweicloud.com/harmonyos/compiler/clang/${ARK…
27 mkdir -p /opt/llvm-15-debug-x86_64 && \
31 tar -xJf /opt/${LLVM_ARK_VERSION:?}-debug-x86_64.tar.xz -C /opt/llvm-15-debug-x86_64 && \
32 tar -xJf /opt/${LLVM_ARK_VERSION:?}-debug-aarch64.tar.xz -C /opt/llvm-15-debug-aarch64 && \
/arkcompiler/runtime_core/static_core/abc2program/
Dabc2program_options.cpp24 ark::PandArg<bool> debug( in Parse() local
25 …"debug", false, "enable debug messages (will be printed to standard output if no --debug-file was … in Parse()
26 ark::PandArg<std::string> debugFile("debug-file", "", in Parse()
27 … "(--debug-file FILENAME) set debug file name. default is std::cout"); in Parse()
31 debugArg_ = &debug; in Parse()
36 paParser_.Add(&debug); in Parse()
58 ark::Logger::InitializeStdLogging(ark::Logger::Level::DEBUG, in ProcessArgs()
61 ark::Logger::InitializeFileLogging(debugFileArg_->GetValue(), ark::Logger::Level::DEBUG, in ProcessArgs()
/arkcompiler/runtime_core/static_core/verification/
Dverification_options.cpp31debug.methodOptions = new (mem::AllocatorAdapter<MethodOptionsConfig>().allocate(1)) MethodOptions… in Initialize()
32 ASSERT(debug.methodOptions != nullptr); in Initialize()
37 if (debug.methodOptions != nullptr) { in Destroy()
38 debug.methodOptions->~MethodOptionsConfig(); in Destroy()
39 mem::AllocatorAdapter<MethodOptionsConfig>().deallocate(debug.methodOptions, 1); in Destroy()
41 debug.methodOptions = nullptr; in Destroy()
/arkcompiler/runtime_core/libabckit/tests/stress/
Drunner.py38 logger.debug('Initializing stress tests...')
39 logger.debug(f'Runner args: {args}')
53 logger.debug('Running stress tests...')
56 logger.debug(f'Running {test.__class__.__name__} test suite...')
69 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results))
78 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results))
80 logger.debug('No regressions')
81 logger.debug('Failures/Total: %s/%s', len(fail_list), len(results))
/arkcompiler/runtime_core/static_core/disassembler/
Ddisasm.cpp33 ark::PandArg<bool> debug { member
34 …"debug", false, "enable debug messages (will be printed to standard output if no --debug-file was …
35 ark::PandArg<std::string> debugFile {"debug-file", "",
36 … "(--debug-file FILENAME) set debug file name. default is std::cout"};
49 paParser.Add(&debug); in Options()
71 LOG(DEBUG, DISASSEMBLER) << "[initializing disassembler]\nfile: " << inputFile << "\n"; in Disassemble()
84 LOG(DEBUG, DISASSEMBLER) << "[serializing results]\n"; in Disassemble()
110 if (options.debug.GetValue()) { in ProcessArgs()
113 ark::Logger::InitializeStdLogging(ark::Logger::Level::DEBUG, in ProcessArgs()
116 ark::Logger::InitializeFileLogging(debugFile, ark::Logger::Level::DEBUG, in ProcessArgs()
/arkcompiler/runtime_core/libabckit/tests/clean_scenarios/
DREADME.md28 # Run tests with debug output
29 If you want to see the debug messages about test:
32 ./ark.py x64.debug abckit_clean_scenario_tests --gn-args="is_standard_system=true abckit_enable=tru…
34 and run tests from `out/x64.debug`
36 To turn off the debug messages:
/arkcompiler/runtime_core/libabckit/tests/scenarios/api_scanner/dynamic/
Dapi_scanner.cpp151 LIBABCKIT_LOG(DEBUG) << LEFT_BRACKET << std::endl; in ApiUsageMapGetString()
153 LIBABCKIT_LOG(DEBUG) << INDENT_1 << LEFT_BRACKET << std::endl; in ApiUsageMapGetString()
159 LIBABCKIT_LOG(DEBUG) << INDENT_2 << APIINFO << COLON << LEFT_BRACKET << std::endl; in ApiUsageMapGetString()
160 …LIBABCKIT_LOG(DEBUG) << INDENT_3 << APIINFO_SOURCE << COLON << GetQuatatedStr(apiInfo.source) << C… in ApiUsageMapGetString()
162 …LIBABCKIT_LOG(DEBUG) << INDENT_3 << APIINFO_OBJNAME << COLON << GetQuatatedStr(apiInfo.objName) <<… in ApiUsageMapGetString()
164 …LIBABCKIT_LOG(DEBUG) << INDENT_3 << APIINFO_PROPNAME << COLON << GetQuatatedStr(apiInfo.propName) … in ApiUsageMapGetString()
166 LIBABCKIT_LOG(DEBUG) << INDENT_2 << RIGHT_BRACKET << COMMA << std::endl; in ApiUsageMapGetString()
168 LIBABCKIT_LOG(DEBUG) << INDENT_2 << USAGES << COLON << LEFT_BRACKET << std::endl; in ApiUsageMapGetString()
170 LIBABCKIT_LOG(DEBUG) << INDENT_3 << LEFT_BRACKET << std::endl; in ApiUsageMapGetString()
171 …LIBABCKIT_LOG(DEBUG) << INDENT_4 << USAGES_SOURCE << COLON << GetQuatatedStr(usage.source) << COMMA in ApiUsageMapGetString()
[all …]
/arkcompiler/runtime_core/static_core/runtime/mem/gc/heap-space-misc/
Dcrossing_map.cpp33 LOG_CROSSING_MAP(DEBUG) << "Create CrossingMap with start_addr 0x" << std::hex << startAddr_; in CrossingMap()
69 …LOG_CROSSING_MAP(DEBUG) << "Try to AddObject with addr " << std::hex << objAddr << " and size " <<… in AddObject()
76 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << firstMapNum in AddObject()
81 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << firstMapNum in AddObject()
87 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << firstMapNum in AddObject()
95 LOG_CROSSING_MAP(DEBUG) << "AddObject - state of the map num " << firstMapNum in AddObject()
120 …LOG_CROSSING_MAP(DEBUG) << "AddObject - set CROSSED_BORDER to map num " << i << " with offset " <<… in UpdateCrossedBorderOnAdding()
141 …LOG_CROSSING_MAP(DEBUG) << "AddObject - set CROSSED_BORDER or INITIALIZED_AND_CROSSED_BORDERS to f… in UpdateCrossedBorderOnAdding()
148 …LOG_CROSSING_MAP(DEBUG) << "Try to RemoveObject with addr " << std::hex << objAddr << " and size "… in RemoveObject()
160 … LOG_CROSSING_MAP(DEBUG) << "RemoveObject - it is the first object in map num " << firstMapNum in RemoveObject()
[all …]

12345678910>>...45