• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 18 19 20 21 22 ... 107 Next »

Help starting out debugging.
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Help starting out debugging.
03-02-2016, 05:38 AM
#1
TwilitSoul Offline
Junior Member
**
Posts: 5
Threads: 2
Joined: Jun 2015
Thanks to some help from mimimi,

I can build and run Dolphin from visual studio.

However, I've spent my past two years working almost solely in Java for my job, and C++ is making me feel like a complete novice again.

To the issue:

I debug Dolphin, and it opens. All good.

I go to the graphics settings. I change it from Direct3D 12, to 11. Then I change it back to 12, and I get this (or some variation):

Code:
Exception thrown at 0x00007FFF8584E79A (nvwgf2umx.dll) in DolphinD.exe: 0xC0000005: Access violation reading location 0x0000004400330044.

Seems to usually occur at line 269 of D3DBase.cpp if I'm not mistaken, though sometimes it's in some diassembled assembly code.

It does not happen this way every time. Sometimes I have to try to open a game (Super Mario Sunshine) or sometimes it's the moment I open the graphics settings.

The thing is, despite my googling, I honestly don't know how to solve a problem like this.

Is there a book or a resource that anyone would recommend for me to build up the basic skillset required to help work on Dolphin? I'm very familiar with JDK 6-8, but little of that seems to apply to the problem I'm having.


Attached Files Thumbnail(s)
   
Find
Reply
03-02-2016, 05:54 AM
#2
JosJuice Offline
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 6,631
Threads: 4
Joined: Oct 2014
Try making a Release build instead of a Debug build, maybe? You can change it using a dropdown at the top of Visual Studio. I don't know if there's something with Debug builds that would cause this, but they're less tested than Release builds (and are also much slower).
Find
Reply
03-02-2016, 06:06 AM
#3
TwilitSoul Offline
Junior Member
**
Posts: 5
Threads: 2
Joined: Jun 2015
(03-02-2016, 05:54 AM)JosJuice Wrote: Try making a Release build instead of a Debug build, maybe? You can change it using a dropdown at the top of Visual Studio. I don't know if there's something with Debug builds that would cause this, but they're less tested than Release builds (and are also much slower).

Amusingly, this seems to just change the problem line to 270 in D3DBase.cpp.
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode