botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Debug Symbols in .dialog file

Open SChandlee-ARIFleet opened this issue 4 years ago • 8 comments

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Version

What package version of the SDK are you using.

Describe the bug

I am using VScode and installed the Debug Dialog extension. I am able to start my bot through the debugger. I set a breakpoint within my main .dialog file. The breakpoint is not recognized "no symbols have been loaded for this document".

To Reproduce

Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Give a clear and concise description of what you expected to happen.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Tracking Status

Dotnet SDK TODO

  • [ ] PR
  • [ ] Merged

Javascript SDK TODO

  • [ ] PR
  • [ ] Merged

Python SDK TODO

  • [ ] PR
  • [ ] Merged

Java SDK TODO

  • [ ] PR
  • [ ] Merged

Samples TODO

  • [ ] PR
  • [ ] Merged

Docs TODO

  • [ ] PR
  • [ ] Merged

Tools TODO

  • [ ] PR
  • [ ] Merged

SChandlee-ARIFleet avatar Mar 09 '21 22:03 SChandlee-ARIFleet

Hi @SChandlee-ARIFleet Thank you for reporting this. I"m going to attempt a repro, see if I can figure out what's going on. Does this happen with any bot you try, or one specific type?

jwiley84 avatar Mar 11 '21 19:03 jwiley84

Thanks Jessica! I only tried it with a Bot Composer/Scratch project.

From: Jessica Wailes @.> Sent: Thursday, March 11, 2021 2:01 PM To: microsoft/botframework-sdk @.> Cc: Chandlee, Scott @.>; Mention @.> Subject: Re: [microsoft/botframework-sdk] Debug Symbols in .dialog file (#6229)

EXTERNAL EMAIL

Hi @SChandlee-ARIFleethttps://github.com/SChandlee-ARIFleet Thank you for reporting this. I"m going to attempt a repro, see if I can figure out what's going on. Does this happen with any bot you try, or one specific type?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/botframework-sdk/issues/6229#issuecomment-796969048, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AM3S2YHFXEBU2AIY6QYM5MTTDEAPHANCNFSM4Y4UHD7Q.

SChandlee-ARIFleet avatar Mar 11 '21 19:03 SChandlee-ARIFleet

Hi @jwiley84 , checking in to see if you were able to make any progress.

Thanks, Scott

SChandlee-ARIFleet avatar Mar 17 '21 19:03 SChandlee-ARIFleet

Apologies, I've been out.

I'm going to need to get repro steps from you to properly reproduce your error.

jwiley84 avatar Mar 18 '21 16:03 jwiley84

VSCODE Version: 1.54.3 (user setup) Commit: 2b9aebd5354a3629c3aba0a5f5df49f43d6689f8 Date: 2021-03-15T10:55:45.459Z Electron: 11.3.0 Chrome: 87.0.4280.141 Node.js: 12.18.3 V8: 8.7.220.31-electron.0 OS: Windows_NT x64 10.0.18363

Bot Framework Dialog Debugger v1.0.3

C# ms-dotnettools.csharp v1.23.9

Launch.json { "configurations": [ { "type": "bot", "request": "launch", "name": "Debug Bot (.NET Core)", "command": "dotnet", "args": [ "run", "--no-build", "--", "--debugport", "0" ] } ] }

BOT Framework Composer v1.3.1 'Use custom runtime'

VSCode Open folder where runtime was built Set breakpoint in [botprojectname].dialog Start Debugger breakpoint will be an open circle instead of closed circle image

Connect emulator to the debug port breakpoints set in .net files will work

**If there is a way to set this up without the "custom runtime" step, I am open to any recommendations

@jwiley84 I hope this is enough information. If not, let me know

SChandlee-ARIFleet avatar Mar 18 '21 20:03 SChandlee-ARIFleet

Update: @jwiley84 is working on this right now.

carlosscastro avatar Mar 24 '21 18:03 carlosscastro

Using a simple EchoBot, I am able to repro this. I'm going to try to make a LUIS bot, and see if this is limited to echo, or if it's across the board. Thank you for your patience.

jwiley84 avatar Mar 25 '21 17:03 jwiley84

Thanks @jwiley84 . This means that we have a bug in the debugging library or somewhere in the adaptive / declarative library. Adding to R14 backlog for the dev team to be aware, investigate and fix. Note that our next release to happen in late April is already feature complete so this would be released afterwards unfortunately. If in the process of investigating we find a workaround or have a fix in a nightly build, we';ll update this bug with that information.

carlosscastro avatar Mar 25 '21 18:03 carlosscastro