Previous Thread
Next Thread
Print Thread
Page 2 of 3 1 2 3
Joined: Aug 2015
Posts: 409
Senior Member
Senior Member
Joined: Aug 2015
Posts: 409
It was compiled with DEBUG=1, what do I need to do to enable the symbols?


Because I can
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Very Senior Member
Q Offline
Joined: May 2008
Posts: 4,930
Likes: 24
SYMBOLS=1 smile


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Aug 2015
Posts: 409
Senior Member
Senior Member
Joined: Aug 2015
Posts: 409
Ahh, stupid me, of course smile maybe I should fireup a highlevel debugger too, I've heard that Visual Studio would work?


Because I can
Joined: May 2009
Posts: 2,234
Likes: 410
J
Very Senior Member
Very Senior Member
J Offline
Joined: May 2009
Posts: 2,234
Likes: 410
Originally Posted by Edstrom
Ahh, stupid me, of course smile maybe I should fireup a highlevel debugger too, I've heard that Visual Studio would work?

Yes, for that I believe you just need to do "make vs2015", then load the generated solution file. Be warned, you'll need to tweak the number of concurrent project builds, as by default it will attempt to use all of your CPU cores, which can bog down the rest of your system.

Joined: Aug 2015
Posts: 409
Senior Member
Senior Member
Joined: Aug 2015
Posts: 409
Whoaa, thanks for the warning, I just got the bluescreen from adding SYMBOLS=1 I suspect, but I did a lot of other things too and it could have been a lingering problem from the crash. I will try again later.


Because I can
Joined: May 2009
Posts: 2,234
Likes: 410
J
Very Senior Member
Very Senior Member
J Offline
Joined: May 2009
Posts: 2,234
Likes: 410
No, it's far more likely that too many cores are being used. SYMBOLS=1 doesn't do anything in Visual Studio as far as I know anyway, it's controlled by the Debug/Release drop-down.

Joined: Aug 2015
Posts: 409
Senior Member
Senior Member
Joined: Aug 2015
Posts: 409
Ahh, dead end, I have VS2005, the free edition I guess, so the solution files can't be loaded ad I believe nothing else will work either. I try again with the SYMBOLS=1 adn see if am lucky.


Because I can
Joined: Mar 2001
Posts: 17,316
Likes: 280
R
Very Senior Member
Very Senior Member
R Offline
Joined: Mar 2001
Posts: 17,316
Likes: 280
VS2015 is also free (for the Community Edition, which matches the feature set of 2013 Pro), and MAME requires it.

Last edited by R. Belmont; 04/08/16 08:06 PM.
Joined: Aug 2015
Posts: 409
Senior Member
Senior Member
Joined: Aug 2015
Posts: 409
I could trigger it when toggling between extend, mirroring and 'projector only' on my lap top with an LCD screen on the VGA output.

Now with symbols:

-----------------------------------------------------
Exception at EIP=0000000000422204 (win_window_info::constrain_to_aspect_ratio(osd_rect const&, int)+0x00c4): ACCESS VIOLATION
While attempting to read memory at 0000000000000080
-----------------------------------------------------
RAX=0000000000000d44 RBX=0000000000000026 RCX=000000001624dc20 RDX=0000000000000290
RSI=0000000000000010 RDI=00000000002293e0 RBP=0000000000229340 RSP=00000000002292c0
R8=0000000000002710 R9=0000000000000000 R10=0000000000000008 R11=00000000163e2750
R12=0000000000000008 R13=00000000002293c0 R14=0000000000000000 R15=00000000161dad90
-----------------------------------------------------
Stack crawl:
0000000000229310: 0000000000422204 (win_window_info::constrain_to_aspect_ratio(osd_rect const&, int)+0x00c4)
0000000000229430: 0000000000422670 (win_window_info::get_min_bounds(int)+0x00c0)
0000000000229490: 0000000000422d23 (win_window_info::update_minmax_state()+0x0073)
0000000000229580: 0000000000423d48 (win_window_info::video_window_proc(HWND__*, unsigned int, unsigned long long, long long)+0x0068)
00000000002295b0: 000000000042536d (winwindow_video_window_proc_ui(HWND__*, unsigned int, unsigned long long, long long)+0x000d)
0000000000229670: 0000000077af9c11 (TranslateMessageEx+0x029d)
0000000000229700: 0000000077af992a (TranslateMessage+0x01ea)
00000000002297d0: 0000000000420bdb (winwindow_process_events(running_machine&, int, bool)+0x017b)
0000000000229810: 000000000041ed9e (windows_osd_interface::update(bool)+0x005e)
00000000002298b0: 00000000006bf4c3 (video_manager::frame_update(bool)+0x0133)
0000000000229910: 000000000062fed3 (screen_device::vblank_begin()+0x0193)
0000000000229980: 00000000006305f5 (screen_device::device_timer(emu_timer&, unsigned int, int, void*)+0x01b5)
0000000000229a30: 0000000000627b5d (device_scheduler::timeslice()+0x067d)
0000000000229a90: 00000000005db798 (running_machine::run(bool)+0x0168)
000000000022f4a0: 00000000005d45c0 (machine_manager::execute()+0x0160)
000000000022f910: 000000000053afec (cli_frontend::execute(int, char**)+0x121c)
000000000022fdf0: 0000000000403bb6 (utf8_main(int, char**)+0x0176)
000000000022fe50: 00000000009c533f (wmain+0x007f)
000000000022ff20: 000000000040140c (__tmainCRTStartup+0x025c)
000000000022ff50: 000000000040153b (mainCRTStartup+0x001b)
000000000022ff80: 00000000779d59ed (BaseThreadInitThunk+0x000d)
000000000022ffd0: 0000000077c0b371 (RtlUserThreadStart+0x0021)
Segmentation fault

Last edited by Edstrom; 04/08/16 10:29 PM.

Because I can
Joined: Aug 2015
Posts: 409
Senior Member
Senior Member
Joined: Aug 2015
Posts: 409
Originally Posted by R. Belmont
VS2015 is also free (for the Community Edition, which matches the feature set of 2013 Pro), and MAME requires it.
You mean Required as to work in VS? Or is mingw64 support dead?


Because I can
Page 2 of 3 1 2 3

Link Copied to Clipboard
Who's Online Now
0 members (), 628 guests, and 6 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,399
Posts122,883
Members5,092
Most Online3,327
Nov 10th, 2025
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Powered by UBB.threads™ PHP Forum Software 8.0.0