Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Breaking the debugger on STM32F411RE Nucleo crashes the debugger #577

Open
sgjesse opened this issue Jul 5, 2016 · 0 comments
Open

Breaking the debugger on STM32F411RE Nucleo crashes the debugger #577

sgjesse opened this issue Jul 5, 2016 · 0 comments

Comments

@sgjesse
Copy link
Contributor

sgjesse commented Jul 5, 2016

This is with version 0.5.0-dev.1.5

Flash blinky.dart on STM32F411RE Nucleo (after updating internal/.dartino-settings).

$ dartino flash --debugging-mode samples/stm32f411re-nucleo/blinky.dart

Connect the debugger, type r and break with Ctrl+\

$ dartino debug samples/stm32f411re-nucleo/blinky.dart on tty /dev/ttyACM0
Using template settings file '/tmp/dartino-sdk/internal/.dartino-settings'
Attached to /dev/ttyACM0
Starting session. Type 'help' for a list of commands.

> r
^\Closing tty-connection
The Dartino program is broken and has crashed.

The Dartino team would greatly appreciate if you would take a moment to
report this problem at https://github.com/dartino/sdk/issues/new

Please include the following information:

* the name and version of your operating system

* the Dartino SDK version (0.5.0-dev.1.5)

* the entire message you see here (including the full stack trace below)

The null object does not have a getter 'element'.

NoSuchMethodError: method not found: 'element'
Receiver: null
Arguments: []
#0      Object._noSuchMethod (dart:core-patch/object_patch.dart:42)
#1      Object.noSuchMethod (dart:core-patch/object_patch.dart:45)
#2      DartinoBackend.createDebugInfo (package:dartino_compiler/src/dartino_backend.dart:700:35)
#3      IncrementalCompiler.createDebugInfo (package:dartino_compiler/incremental/dartino_compiler_incremental.dart:287:38)
#4      DebugState.getDebugInfo.<anonymous closure> (package:dartino_compiler/debug_state.dart:353:33)
#5      _HashVMBase&MapMixin&&_LinkedHashMapMixin.putIfAbsent (dart:collection-patch/compact_hash.dart:254)
#6      DebugState.getDebugInfo (package:dartino_compiler/debug_state.dart:352:23)
#7      BackTraceFrame.debugInfo (package:dartino_compiler/debug_state.dart:112:41)
#8      BackTraceFrame.sourceLocation (package:dartino_compiler/debug_state.dart:159:12)
#9      DebugState.topFrame= (package:dartino_compiler/debug_state.dart:347:30)
#10     DartinoVmContext.handleProcessStop.<handleProcessStop_async_body> (package:dartino_compiler/vm_context.dart:549:20)
#11     Future.Future.microtask.<anonymous closure> (dart:async/future.dart:144)
#12     _rootRun (dart:async/zone.dart:895)
#13     _CustomZone.run (dart:async/zone.dart:790)
#14     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:723)
#15     _microtaskLoop (dart:async/schedule_microtask.dart:41)
#16     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50)
#17     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#18     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:149)

Session 'local' was terminated.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants