debugger icon indicating copy to clipboard operation
debugger copied to clipboard

[Bug] Symbol Manager "Reload All" button doesn't seem to work [sf#440]

Open openMSX-import opened this issue 10 years ago • 2 comments

Reported by sd-snatcher on 2012-09-16 22:15 UTC

The debugger's "Reload All" button (on Symbol Manager window) doesn't seem to work.

Steps to reproduce the error:

  1. On openMSX-debugger, add a few symbol files (I used 3 sym files: BIOS calls, hooks and system-variables)
  2. Break the game execution and begin a debugging session of a given game. All symbols will show fine.
  3. Run a bit of the game code by pressing the F8 key
  4. Reset openMSX
  5. Click on File->New Session
  6. Break the game execution and begin another debugging session of the game. No symbols will be shown anymore
  7. Click on System->Symbol Manager
  8. Click on "Reload all symbols" button

Effect: The "Reload all" button will do nothing: The "last refresh" field will not change, and the symbols will still not be shown. The user will has to remove all symbol files and add them again to get the symbols showing for a new debugging session. Also, beginning a new session should also force a reload of all symbols without requiring the user to open the symbol manager and click on the "reload all" button.

openMSX-import avatar Jun 24 '15 12:06 openMSX-import

Commented by edwinv on 2012-09-22 10:45 UTC I'm not entirely sure what you're trying to accomplish. File->New Session is supposed to remove all symbols.

openMSX-import avatar Jun 24 '15 12:06 openMSX-import

Commented by sd-snatcher on 2012-09-23 05:50 UTC Humm, then maybe there are two different bugs:

a) Clicking on the "Reload All" don't force the files to be reloaded (which is what I'm trying to reach). Or at least the file stamps shown on the file list don't get updated.

b) Clicking on File->New Session doesn't clean the file list inside the Symbol-Manager. This causes duplicate files on the list if the following sequence is performed:

  1. On openMSX-debugger, add a few symbol files (I used 3 sym files: BIOS calls, hooks and system-variables)
  2. Break the game execution and begin a debugging session of a given game. All symbols will show fine.
  3. Save your current session
  4. Click on File->New Session
  5. Load the session you saved on step (3)
  6. Click on System->Symbol Manager
  7. All your symbol files will be duplicated on the file list

The sequence above is just a test. On step (5) I could be loading any other session for a different game, but the BIOS,Hooks & variable SYM files I use for every game will be duplicated anyway.

openMSX-import avatar Jun 24 '15 12:06 openMSX-import