iT邦幫忙

0

Microsoft .NET framework 您的應用程式發生未處理的例外狀況

如需叫用 Just-In-Time (JIT) 偵錯的詳細資料,
請參閱本訊息結尾處 (而非這個對話方塊) 的資訊。

************** 例外狀況文字 **************
Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: b. Path '', line 44, position 1.
   於 Newtonsoft.Json.JsonTextReader.Read()
   於 Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   於 Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   於 Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   於 Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   於 PokemonGo.RocketAPI.Logic.Translation.Translation..ctor(String languageCode) 於 C:\Users\Ari\Desktop\PokemonGo Bot\Github\PokemonGo-Bot\PokemonGo.RocketAPI.Logic\Translation\Translation.cs: 行 36
   於 PokemonGo.RocketAPI.Logic.Translation.TranslationHandler.Init() 於 C:\Users\Ari\Desktop\PokemonGo Bot\Github\PokemonGo-Bot\PokemonGo.RocketAPI.Logic\Translation\TranslationHandler.cs: 行 27
   於 PokemonGo.RocketAPI.Console.GUI.GUI_Load(Object sender, EventArgs e) 於 C:\Users\Ari\Desktop\PokemonGo Bot\Github\PokemonGo-Bot\PokemonGo.RocketAPI.Console\GUI.cs: 行 119
   於 System.Windows.Forms.Form.OnLoad(EventArgs e)
   於 System.Windows.Forms.Form.OnCreateControl()
   於 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   於 System.Windows.Forms.Control.CreateControl()
   於 System.Windows.Forms.Control.WmShowWindow(Message& m)
   於 System.Windows.Forms.Control.WndProc(Message& m)
   於 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   於 System.Windows.Forms.ContainerControl.WndProc(Message& m)
   於 System.Windows.Forms.Form.WmShowWindow(Message& m)
   於 System.Windows.Forms.Form.WndProc(Message& m)
   於 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   於 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   於 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** 已載入的組件 **************
mscorlib
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PokemonGo.RocketAPI.Console
    組件版本: 1.0.9.6
    Win32 版本: 1.0.9.6
    程式碼庫: file:///C:/Users/Jonny/Desktop/Latest%20Build%20-%2011.08%2016.19/PokemonGo.RocketAPI.Console.exe
----------------------------------------
POGOProtos
    組件版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    程式碼庫: file:///C:/Users/Jonny/Desktop/Latest%20Build%20-%2011.08%2016.19/POGOProtos.DLL
----------------------------------------
System.Windows.Forms
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Pokemon.Go.Rocket.API
    組件版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    程式碼庫: file:///C:/Users/Jonny/Desktop/Latest%20Build%20-%2011.08%2016.19/Pokemon.Go.Rocket.API.DLL
----------------------------------------
PokemonGo.RocketAPI.Logic
    組件版本: 1.0.0.0
    Win32 版本: 1.0.0.0
    程式碼庫: file:///C:/Users/Jonny/Desktop/Latest%20Build%20-%2011.08%2016.19/PokemonGo.RocketAPI.Logic.DLL
----------------------------------------
System.Core
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.resources
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.resources.dll
----------------------------------------
Newtonsoft.Json
    組件版本: 9.0.0.0
    Win32 版本: 9.0.1.19813
    程式碼庫: file:///C:/Users/Jonny/Desktop/Latest%20Build%20-%2011.08%2016.19/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Runtime.Serialization
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Xml.Linq
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
System.Data
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Windows.Forms.resources
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
mscorlib.resources
    組件版本: 4.0.0.0
    Win32 版本: 4.0.30319.34209 built by: FX452RTMGDR
    程式碼庫: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hant_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

************** JIT 偵錯 **************
若要啟用 Just-In-Time (JIT) 偵錯功能,則必須在
此應用程式或電腦的 .config 檔案中,設定
system.windows.forms 區段內的 jitDebugging 值。
且該應用程式也必須在啟用偵錯的狀態下進行
編譯。

例如:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

當 JIT 偵錯功能啟用後,會將所有未處理的例外狀況
傳送給電腦上已註冊的 JIT 偵錯工具進行處
理,而不是使用這個對話方塊來處理。

fillano iT邦超人 1 級 ‧ 2016-08-14 21:51:20 檢舉
所以,你的問題是?
newkevin iT邦高手 1 級 ‧ 2016-08-15 13:10:34 檢舉
所以是要讓大家 知道有這工具嗎 ?? 如果是應該發在技術文章?
https://msdn.microsoft.com/zh-tw/library/5hs4b7a6(v=vs.110).aspx

2 個回答

WilliamHuang
iT邦研究生 1 級 ‧ 2016-08-14 23:03:14
【**此則訊息已被站方移除**】
1
fillano
iT邦超人 1 級 ‧ 2016-08-15 09:09:09

其實你貼的第一行不就有說明XD

Newtonsoft.Json.JsonReaderException: Additional text encountered after finished reading JSON content: b. Path '', line 44, position 1. 於 Newtonsoft.Json.JsonTextReader.Read()

所以你要問什麼?

我要發表回答

立即登入回答