feat(debug): Add debug logging to console.log_handle for plugin investigation

- Added eprintln! debug messages to trace handle values
- Helps investigate why plugin return values display as blank
- Part of ongoing LLVM backend plugin return value investigation

Related to issue where print(c.get()) shows blank output

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Selfhosting Dev
2025-09-11 06:03:21 +09:00
parent 4ecba4950f
commit 40489a3c97
5 changed files with 203 additions and 7 deletions

View File

@ -0,0 +1,22 @@
# Debug Reports
ChatGPT5さんへの調査依頼レポート集です。
## 最新レポート2025-09-11
### 1. chatgpt5_debug_request.md 🎯 **最重要**
プラグイン戻り値表示バグの根本原因を特定した詳細レポート:
- 問題の流れを完全に追跡
- nyrt::console.log_handleでの問題箇所を特定
- デバッグ提案を含む
### 2. chatgpt5_llvm_string_concat_bug.md
文字列連結バグも含む包括的なレポート:
- MIRでの型推論ミスString + Integer → Integer
- LLVMエラーの詳細
## テストファイル
`local_tests/test_plugin_*.nyash` - バグ再現用のテストファイル
## 使用方法
これらのレポートをChatGPT5に提示して、問題の修正を依頼してください。