Quantcast
Channel: Questions in topic: "breakpoint"
Browsing latest articles
Browse All 101 View Live

Debug breakpoints not breaking

I have attached the code to the process but i cant get the breakpoints to break. I have tried in several methods. print and debug shows that the code is reached.

View Article



Run unit tests (nUnit) in debug mode (MonoDevelop)

How do I run nUnit unit tests in Unity (with MonoDevelop 4 attached) in debug mode, so that I can step through my code with breakpoints? Thanks.

View Article

UnityVS not breaking on exception and missing debug info

I have made sure the exceptions were checked for thrown in the Debug -> Exceptions list and Visual Studio does not complain about any missing symbols, however I still get a lots of missing features...

View Article

Android debugging a crash on application start

I'd like to get Android debugging to work (attach to process, breakpoints, etc) and I think I do, but my main problem right now is that my Android build breaks upon start up. Because it breaks and...

View Article

Is there a way to have a data breakpoint in unity3d?

Hello there! Very often I face the same problem: Some script is changing some value (like transform) and it would be great to have a tool to print the stack of the code that make the modification. In...

View Article


Monodevelop 4.0.1 breakpoints won't work.

I've been using Monodevelop 4.0.1 for Unity 5 and i've noticed that when i'm trying to debug anything the breakpoints and the debugging just won't work properly. For example, i set the breakpoint at...

View Article

Not able to use Visual Studio as debugger, but it works as editor

Similar questions have been asked before, but I have not found any that have these specific problems. When I work with my existing project, all script files open in Visual Studio 2013 like I want them...

View Article

VS 2013: Breakpoint only if an error happens

Im using VS 2013 professional as editor for Unity 5. I use VS Tools so I can debug. I put some breakpoints on my code but I want to stop execution just if an error happens. For example, I have a...

View Article


How to set breakpoints in Xamarin?

I'm trying to follow the basic debugging settings for monodevelop, found here on Unity's website: https://unity3d.com/learn/tutorials/modules/beginner/scripting/monodevelops-debugger I assumed this...

View Article


Breakpoint in Start function not caught

Hello, I added several breakpoints in the Start() function of one of my scripts. But monodevelop/unity debugger refuses to catch them. It just plain ignore them... Did I do something wrong ? Or is it...

View Article

Unity Linux—Connect to Debugger

Hello Everybody, I have downloaded and install the Unity Linux beta (5.1.0f3) which running quite nice, and except some crashes here and there, It does what it should. The only thing I cannot get to...

View Article

Monodevelop 5.9.6 not stopping at breakpoints

I have 3 breakpoints in my code, debugging a development build on an android mobile phone. Mono does not stop at the 3rd one. Can someone tell me how to get Mono back to doing that? ![alt text][1] [1]:...

View Article

Visual Studio breakpoint freeze.

I'm using Visual Studio 2015 to write my code. And I'm used to use breakpoint to debug. But every time i try to place a breakpoint, attract to unity and play. Then Unity will just freeze and then i...

View Article


callstacks and coroutines

I'm starting to really love coroutines. they're like threading without the hassle of creation and without the worries of real concurrency. one major downside to them is that they decimate the...

View Article

How to tell what method is moving an object?

I run into this at least once a week on the large established codebase I'm working with, and it makes debugging painful: something will move (transform.position changed), and I have no idea what moved...

View Article


how to activate Debugging monodeveloper or visual studio editor in unity 5.4.2?

1. I am using unity 5.4.2f2 and upgraded a project developed in unity 5.0.2. when I run the project on unity 5.0.2, I can put breakpoints and can debug in monodeveloper properly. But when I run the...

View Article

Cannot debug errors created by Debug.Assert()

Running my project with *"Error Pause"* enabled, helps me to halt the game when a **Debug.Assert()** fails. However, clicking on the error will only point to the affected line on Visual Studio. No...

View Article


How to get breakpoints working in Mono Develop for Unity?

Breakpoints stopped working for me in Mono Develop. I tried the solutions from [this answer][1] and [this answer][2], without any luck. I've tried restarting Mono Develop, Unity and my Mac. I've also...

View Article

MonoDevelop Break Points not connecting

I don't know since when this got more annoying then usual, but every other line Break Points in MonoDevelop won't connect. They show as red circles with a hole. This happens at random, sometimes it...

View Article

EXC_BREAKPOINT crash, how to debug?!?

My game has occasional EXC_BREAKPOINT crash, are there any guildlines or steps I can follow to find out the problem? The log only show a bunch of numbers, I don't even know which script causes that......

View Article

Cant change debugger execution line while debug

I use visual studio to debug unity game. I put a breakpoint into function. When i break to debug mode, i cant change execution line ![alt text][1] [1]:...

View Article


What is the best way for Debugging (hitting breakpoints etc.) methods with...

When I run a unity instance as *'LAN Host'* everything is fine and my breakpoints will be hit. Unfortunately when I run one unity instance as *'LAN Server Only'* and one instance as *'LAN Client'* I...

View Article


Are conditional breakpoints when debugging in VS2017 working for you?

Debugging with VS2017 (or older versions) could be a lot better (especially in long loops) if conditional breakpoints were working for me. Unfortunately they are not. Are they working for anybody? Is...

View Article

Breakpoints working in Game but not in EditorScripts?

Hi there, I have a rather pressing and confuding Problem. If i attach the Debugger in Vs2017 the breakpoints i set are working in my GameScripts, but not in an editor Script. The Message given is that...

View Article

unity freezes when external process is running and breakpoint is triggered

I have a problem where i run an external process through Diagnostics.Process, and then try to trigger a breakpoint. In my case i am using Unity 5.6 and Rider 2018.3. The result is that Unity freeze,...

View Article


Conditional Breakpoints - Can't Enter an Expression?

Is anyone else not able to enter any text in (to replace the sample expression) into the "Advanced Conditions" input field of a breakpoint edit dialog? (VS for Mac, Community, 7.8 Build 1624)

View Article

Visual Studio breakpoint freezes the Unity editor

Hi. I've read many topics about this but none of them helped. I have some breakpoints in Visual Studio. After clicking "attach to unity and play" it successfully builds and it says "running". But it's...

View Article

Debug IL2CPP Android build on device

Hi, I am trying to debug a random soft lock on Android device (Pixel 2) when building with the latest Unity (both 2019.1.4f1 and 2019.1.7f1) and IL2CPP. The issue I am seeing is Unity stops processing...

View Article

debugging multiple gameobjects with the same script

if i have multiple gameobjects with the same script, and i debug it in visual studio with breakpoints, which game object does the debugging look at? is there a way i can make it look at a certain one?

View Article



Can Anyone can suggest a good race car Ai asset.

I am developing a racing game like "Split Second". The one thing I am struggling with is to make a good Ai opponent. Default Ai system is not enough to do the task. So can anyone suggest a good Ai...

View Article
Browsing latest articles
Browse All 101 View Live




Latest Images