rohd_source_navigator 0.1.0 copy "rohd_source_navigator: ^0.1.0" to clipboard
rohd_source_navigator: ^0.1.0 copied to clipboard

Dart implementation of the ROHD source navigator — path normalisation, frame cycling, and DTD service for cross-probe source navigation.

example/main.dart

// Copyright (C) 2026 Intel Corporation
// SPDX-License-Identifier: BSD-3-Clause
//
// main.dart
// Runnable FLC source-location lookup example.
//
// 2026 September 23
// Author: Desmond Kirkpatrick <desmond.a.kirkpatrick@intel.com>

import 'package:rohd_source_navigator/flc_data.dart';

void main() {
  final data = FlcData.fromJson({
    'version': 5,
    'files': ['lib/top.dart'],
    'modules': {
      'Top': {
        'tree': [
          ['0:42:5', 'result'],
        ],
      },
    },
  });

  final frames = data.lookupSignal('Top', 'result');
  if (frames?.single.line != 42) {
    throw StateError('Expected the result signal at lib/top.dart:42.');
  }
}
1
likes
160
points
550
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Dart implementation of the ROHD source navigator — path normalisation, frame cycling, and DTD service for cross-probe source navigation.

Homepage
Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

json_rpc_2, web_socket_channel

More

Packages that depend on rohd_source_navigator