how to debug dll in xamarin.forms project - dll

in my xamarin.forms application i have used zxing.net.mobile form component for bar code scanner.
now i am trying to capture and save image at time of scanning by changing some code in
ZXing.Net.Mobile.Android
DLL of .zxing.net.mobile
zxing provide open source code in which i made changes.
now i have created separate xamarin.android demo in which i include all code of ZXing.Net.Mobile.Android with my code change.that run and works fine.saves image successfully.
so now i am trying to this in my project.so by replacing this ZXing.Net.Mobile.Android ref it should work i think.but it is not.
it don't save image and close app abruptly. so whats wrong with this.what i am doing wrong.
i tried to debug updated dll but.it also don't hit breakpoints .so cant figure out w.please help.
Thanks in advance.

Related

HotSwap and LWJGL not working in IntelliJ

I'm trying to get HotSwap to work but I'm not able to get it running.
I have a lwjgl project run by maven and when I change the color of the clear color or even change the string of a System.out.println within the main loop, nothing happens in the application. I have tried to manually reload the classes, they get updated but nothing changes in the actual application.
Any help is appreciated

Error : Unable to open module file System Error &H80070002&

I am working on a web based dynamic vb form which is of around 20,000 lines suddenly my system got shutdown due to power loss, When I reopened the system then I found my .vb file is only left with Hexadecimal-Binary kind of text as in the screen shot.
When I am running the code in Visual Studio it is running fine and show the form in web browser but I need to edit it as I am in development phase.
On opening the file in notepad it is showing blank page with lots of blank lines.
I have tried to recover using 'restoring previous versions' but I found 'There are no previous versions available'.
I also have tried to recover using 'Open system restore' in which I found a list of restore point but even after successful completion issue is remain same.
Error screen shot
I didn't any solution for this problem.
I have some my code in distributed manner so I merge those pieces of code and wrote rest of the code.
If any body knows better solution than this, please share it.

UI Designer not in Solution Explorer and unable to get the tool

First of all, I am developing an application in VB.NET, till yesterday it was all good. I saved the project and closed it, now when i started working on that application, i found that there was no way to open the UI area for the application. I am able to see the code behind it i.e. on dashboard.Designer.vb but not the UI. I am able to see the the application after running it using F5. What would be the possible reason for it, and how i can solve it.
Secondly, i tried to find search a lot for this tool but unable to get any, if somebody can tell me what tool is this or any similar tool, it would be of great help.
I was searching for long and found the answer:-
What we need to do is just add the following code in the blank dashboard.vb file
Public Class dashboard
End Class
And this will get the form back.
The second question was answered by #Code Gray
1. Outlook like sidebar and display in Outlook
2. Outlook navigation bar control for .NET application

Titanium Mobile - Simulator exits without error

I have following problem:
In my titanium project I save an image ( from UIView.toImage() ) to a file in applicationDirectory. Then I have a Obj-C module, where I read out that file.
Then an image processing algorithm is applied from a C++ Lib.
Before the algorithm is applied to the image I have a function which gets the ARGB-values from
the values I get from the file. I make a Pixel Matrix out of them.
Then, after the algorithm is applied I transform the new Pixel Matrix back into an UIImage to save it to a file.
My problem is, that sometimes the program crashes BEFORE the algorithm is applied (I use NSLogs to see where it crashes, that is right, isn't it? ) and sometimes the whole Obj-C Module finishes its work ...
I don't get any error message in the Titanium Console... Is there some way to see why I get the crashs or is there a way to debug my titanium project efficiently?
I debug the modules that I work on by running my test project in XCode. When the app crashes, XCode will break at some unhelpful spot. BUT what is helpful is the stack trace. I can usually clean enough information from that to figure out what is going wrong, and where.
Let me be explicit about "test project".
- If you are running your module by doing "titanium run" from the terminal, I will open the generated project in XCode and run it from there (you'll see the path to it in the generated log statements after you "titanium run" your module).
- Or, if you have your module as part of an actual project, build the project once, and open it in XCode. Run it, crash it, and you'll get a stack trace to help you on your way.
Another option would be for you to stick your really problematic code in some of the core Titanium Mobile code -- like in the PlatformModule.m. This is a module like your own, except its source code is right there. Then you'll be able set breakpoints, inspect your variables, and enjoy the full benefits of using XCode to see what's going on in your objective-c.
I hope this helps, and gets you on your way! Let me know if I can clarify anything further. -Dawson

Visual Studio 2008 debugging: when I click on the play button, it flashes real quick

I am having a weird issue with VS 2008 when I go to debug my program. When I click on the play button to run the program it flashes real quick and goes back to the VB IDE. No matter how many times I click on the play button it continually flashes and then goes back without displaying my form window or anything.
What type of setting would I need to change in order to correct this issue? I've been through most settings in the "my project" section and i do not see anything that could be causing it to do something like this.
My older vb apps I've made seem to work just fine when I click the play button on them. Only noticed this problem whenever I go and make a new vb app.
update video of what's going on
http://tinypic.com/r/2eycaas/7
Try this?
"
Did we install some third party Add-ins in your machine? If we disable Add-ins (“Tools” | “Add-in Manager”) and run “devenv.exe /safemode”, do we still have the problem? This can eliminate the possibility that third party Add-ins are causing problems.
We also can try to run devenv /resetsettings (Commonly, it makes sense than re-installation) or devenv /setup in Visual Studio Command Prompt.
"
--http://forums.asp.net/t/1324737.aspx/1
Just check your output window.
Accessible from Menu-> Debug-> Windows -> Output. (Check image:1)
In output window select Show output from: Build combobox. (Check image:2)
This will give you perfect idea what is happening.
Following are the guesses.
The VBC installer is not installed or corrupted.
Some addon is registered to run before compiling and is creating problem.
....Long list until you tell whats shown in output window.
Also check Show output from: Debug in output window and Final check would be Immediate window.
I feel this three would give you hint whats going wrong.
Fixed.
Changing it to x86 instead of Any CPU worked!!!! :) But question is, why me having an Core i7 Quad doesn't support the program when i choose x64.....
David
Is the startup form correct? You can see that in project properties.