hoangduit / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

Launch debugger issue #380

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I got KeyNotFoundException when launch Debugger.

What version of the product are you using? On what operating system?
rev 8924

Please provide any additional information below.
It always use PC register name "PC" in GenericDebugger.cs.
You must use Disassembler.PCRegisterName.

I think that GenericDebugger.cs 117,278lines are following code.
L.117 var pc = 
Debuggable.GetCpuFlagsAndRegisters()[Disassembler.PCRegisterName];
L.278 var pcBitSize = 
Debuggable.GetCpuFlagsAndRegisters()[Disassembler.PCRegisterName].BitSize;

Original issue reported on code.google.com by aisu.core on 25 Jan 2015 at 7:04

GoogleCodeExporter commented 9 years ago
Start with a fresh new config.

If that doesn't work, please tell me what core you are using

Original comment by adeli...@tasvideos.org on 29 Jan 2015 at 12:31

GoogleCodeExporter commented 9 years ago
I did it, still not working.

I use VBANext.

GBA's PC is "R15", and there is no "PC" register.
So it throw KeyNotFoundException.

Original comment by aisu.core on 31 Jan 2015 at 9:36

GoogleCodeExporter commented 9 years ago
Please try r9029

It may have been corrected.  If not, I will assign it to the proper handler.

Original comment by hegyak on 4 Feb 2015 at 12:57

GoogleCodeExporter commented 9 years ago
Thanks, this issue is fixed. 

Original comment by aisu.core on 7 Feb 2015 at 12:18

GoogleCodeExporter commented 9 years ago
oops, GenericDebugger.cs#278 may should fix. right?

Original comment by aisu.core on 7 Feb 2015 at 12:33

GoogleCodeExporter commented 9 years ago
Is r9151 working for you or is it not working?  If not, what is not working?

Original comment by hegyak on 28 Feb 2015 at 5:07

GoogleCodeExporter commented 9 years ago
This was fixed.

Original comment by adeli...@tasvideos.org on 6 Mar 2015 at 12:34