I am trying to debug my app but got :
Failed invoking <symbol>
1 //
Unexpected Type Error
even under the eclipse environment, I only got that. no stack trace,
what can I do ?
If you run the failing code on a physical device, the resulting error file will contain a stack trace. It's a slow work around to a bug in the SDK Eclipse plugin but might save you some pain.
System.println("onHold");
// hold to reset timer
function onHold() {
System.println("onHold");
if (Attention has :vibrate) {
var vibe = [new Attention.VibeProfile( 50, 100 )];
Attention.vibrate(vibe);
}
//TODO: resetTimer();
return true;
}
---
Error: Too Many Arguments Error
Details: 'Failed invoking <symbol>'
Time: 2019-03-16T17:00:43Z
Part-Number: 006-B2700-00
Firmware-Version: '6.10'
Language-Code: fre
ConnectIQ-Version: 3.0.9
Store-Id: 15419195-cd1e-4bf8-9c43-e18ea607c91f
Store-Version: 3
Filename: D825EB04
Appname: Rcherie
Stack:
- pc: 0x10000204
- pc: 0x30001d39
- pc: 0x30001f00
<entry filename="/Volumes/home/garmin/archery/source/archeryDelegate.mc" id="14" lineNum="156" pc="268435974" symbol="onHold"/>
<entry filename="/Volumes/home/garmin/archery/source/archeryDelegate.mc" id="14" lineNum="157" pc="268435997"
---
Error: Too Many Arguments Error
Details: 'Failed invoking <symbol>'
Time: 2019-03-18T18:00:48Z
Part-Number: 006-B2700-00
Firmware-Version: '6.10'
Language-Code: fre
ConnectIQ-Version: 3.0.9
Filename: D825EB04
Appname: Rcherie
Stack:
- pc: 0x100023fa
File: 'C:\data\workspace\garmin\archery\source\archeryDelegate.mc'
Line: 156
Function: onHold
- pc: 0x30001d39
- pc: 0x30001f00
// hold to reset timer
function onHold() {
System.println("onHold");
if (Attention has :vibrate) {
var vibe = [new Attention.VibeProfile( 50, 100 )];
Attention.vibrate(vibe);
}
//TODO: resetTimer();
return true;
}